OpenSSH is one of the most popular implementations of SSH used today and available by default in many Linux and Unix-like operating systems.

learn more… | top users | synonyms

2
votes
1answer
18 views

Restricted bash circumvention via SSH command execution

EDIT: After much digging, this is almost certainly a result of /etc/profile.d/... being called before rbash is executed, and therefore not a problem with restricted bash in itself. There seems to be ...
0
votes
1answer
24 views

How to configure SSH to connect through an OpenVPN?

I have a desktop at work that I like to keep synchronized with my home computers using Unison, which connects through SSH. I also sometimes like to remote in to the work computer using SSH. My work ...
1
vote
0answers
18 views

Cygwin sshd issue

One of the cool features of Cygwin is being able to cd into a remote Windows machine on your same network: [0 user@machine ~]$ cd //remote-machine/c$ [0 user@machine //remote-machine/c$]$ ls ...
0
votes
1answer
62 views

Cannot ssh to localhost using key

I have set up an ssh key and want to connect to localhost using key only, without password (note: this is just a test; ultimately I want to connect to an internal git server, where the same problem ...
4
votes
5answers
9k views

Cygwin sshd did not start due to a logon failure

After a cygwin sshd install, sshd service fails with: Error 1069: The service did not start due to a logon failure I try to give cyg_server standard user and admin access. The error is the same ...
2
votes
1answer
11 views

Generating SSH keys for GitLab on OS X 10.11

I've got GitLab CE installed and I'm trying to set up an SSH key so I can push my git repos to GitLab, but there's inconsistency with what the documentation says I should be getting and what my ...
0
votes
0answers
17 views

Configuring Bidirectional Host Based Authentication in SSH

I have 3 servers (Ruby, Sapphire, Onyx) that I have been trying to setup passwordless (host based) authentication between for all users. I've configured the machines to use host based authentication ...
0
votes
0answers
24 views

how to restrict sftp only users to specific folder within the chroot directory

I know there is different versions of this question. but I am trying to give each user a folder within chroot directory and he/she should not be able to navigate outside the assigned folder. What I ...
0
votes
1answer
334 views

Permission denied on ssh access with cygwin

I have a fresh Windows 10 family (x64) install with an Administrator account Jean Perrin. I installed cygwin with openssh and modified C:\cygwin64\Cygwin.bat this way: @echo off C: chdir C:\cygwin64\...
4
votes
3answers
7k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : http://shapeshed.com/...
55
votes
8answers
18k views

Is there a way for one SSH config file to include another one?

In case it matters: OS: Ubuntu 10.04 SSH: OpenSSH_5.3p1 Debian-3ubuntu5 I'd like one SSH config file to include another one. The use case would be to define whatever I want in my default .ssh/...
1
vote
0answers
27 views

how to prevent sshd from interpreting remote command as a user

I set up a dedicated ssh key pair for the purpose of forcing a specific command on a remote server. I added the public key to the remote server authorized_keys file along with a command option ...
17
votes
3answers
119k views

SSH Permission denied on Correct Password Authentication

I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here ...
-1
votes
0answers
11 views

are SSH public keys automatically created and transferred with first contact?

so i just sent up an SSH server on my ubuntu server to transfer files between it and my other machines. now when i connected both ways, RSA public keys were created and stored it automatically. i ...
0
votes
1answer
21 views

Why is my ECDSA fingerprint encoded with MD5 when it is shown as a fingerprint?

In my /etc/ssh folder there are several different SSH keys (which list different algorithms such as MD5 or ECDSA). The one used by default is the ECDSA but when it shows its fingerprint (when I am ...
0
votes
1answer
19 views

SSHD taking random port

I had configued OpenSSH in my windows server for port 22. But each time it is taking random port and as the random port is not active, the connection is getting closed. sshd: PID 7148: Connection ...
-1
votes
0answers
16 views

SSH Public Keys always says invalid directory

I had installed OpenSSL in my windows server. I had added the public keys in \home\<<user>>\.ssh\authorized_keys file. When I run the command I am always getting Permission Denied Error. ...
0
votes
1answer
32 views

Linux not connecting to OpenSSH Server in Windows

I had configured OpenSSH server in Windows. And added the public key inside authorized_keys file <<Users>>\.ssh directory. When I connect from Linux maching using SSH, it is throwing the ...
21
votes
1answer
9k views

Does the right half of the rsa public key matter?

In a public key file "id_rsa.pub" generated by ssh-keygen, does the part after the == matter? I ask because when I changed "root@somedomain.com" to "root", it seems to still work. More generally, I ...
1
vote
1answer
8 views

Command line for ./configure - Debian/Red Hat packages

I want to configure and compile openssh server from source. Can I check command line how it was configured in current Debian and/or Red Hat packages? I'd rather not lose any features or badly set up ...
1
vote
1answer
101 views

SSH Automatically Disconnects After Login

I'm trying to set up an ssh server using OpenSSH on Windows 10. On one of my computers, I've been able to set up the server and successfully login from the same machine. On the other computer, the ...
2
votes
0answers
141 views

warning message “kex protocol error: type 7” during scp, rsync or shell work

Lately, I get lots of these errors on my home server. Their occurrence seems proportional to the traffic, so if I am working in a shell on the server I may seem 1-2 a day. But If I start some rsync, ...
1
vote
0answers
59 views

Force OpenSSH server to accept nonexistent usernames?

Can sshd be configured to accept a nonexistent username and log in as a predefined user, such as guest? For example, if I enter ssh nxuser123@localhost, sshd should save "nxuser123" in an environment ...
0
votes
1answer
57 views

How to install secure OpenSSH server on Ubuntu?

I want to install OpenSSH server on Ubuntu. How to do it? I need to do the following: Set up OpenSSH server Set up ssh public-private key pair for user Disable password login Enable root user Set ...
0
votes
0answers
30 views

Installation of OpenSSH hangs on each windows system

I am sitting here in a big company with terrible restricted infrastructure. When I execute the openssh installer: http://www.mls-software.com/files/setupssh-7.2p2-1-v1.exe as Administrator on a VM ...
0
votes
0answers
24 views

How do stop the OpenSSH window from continuously prompting me for my passphrase?

I'm using the git bash terminal on Windows 10 to work with repos. When I use a repo where I used SSH to connect to the remote repo, I get an OpenSSH dialog that requests my passphrase with 'Enter ...
6
votes
4answers
6k views

Configure OSX Firewall to Allow SSH Server?

If I turn on my OSX firewall, ssh is disallowed. If I turn it off, ssh can connect just fine. These are the settings from the ssh host: while I don't know what I'm doing, I figured that giving /usr/...
1
vote
2answers
95 views

get SSH key fingerprint in (old) hex format on new version of openssh

It seems that openssh has changed the way it displays key fingerprints. I am trying to ssh from a client machine to a server: client: ubuntu 14.04 running OpenSSH 6.6.1 server: FreeBSD running ...
0
votes
0answers
25 views

SSH on wireless NAT - works for LAN, not for WAN

I am trying to set up SSH between a travel laptop and my home server. Currently, both are connected to my home WiFi (which is NAT). I am using port forwarding for SSH (start port = 22, end port = 22......
5
votes
1answer
2k views

SSH DSA keys no longer work for password-less authentication

After upgrading to Fedora 23, passwordless (public-key-based) authentication no longer works in SSH: when trying to SSH to some host, it prompts for my password at the remote host. I can't get it to ...
0
votes
1answer
37 views

Where do i need to put my public rsa key on the server to allow passwordless ssh authentication?

I have been trying to get ssh working without a password on a Linux server. I have been looking at a lot of tutorials, but I have a lack of fundamental understanding of some key concepts. I have an ...
1
vote
1answer
101 views

OpenSSH: Slow typing speed when in pseudo terminal

Updates I've narrowed it down to only occurring on the wireless network at work. From home, I experience no lag/delay It also seems that after "heavy" SSH use and tunneling through one or two ...
1
vote
0answers
34 views

Implementing chroot directory for sftp users

I am running OpenSSH64 on a Windows 2012 environment. OpenSSH64 is running and I can access the server. I have modified the sshd_config file with no success. I have made the following changes: ...
1
vote
1answer
12 views

How can I get the symmetric encryption key used by SSH?

I'm looking into a Wireshark trace made by myself, and I wanted to see what the client sent to the server and what the server replied in the encrypted application data stream. While I see what method ...
76
votes
9answers
176k views

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...
0
votes
1answer
39 views

openssh with virtual users and chroot

I'm looking for a way to run a opensshd offering sftp to users as a unprivileged user e.g. on port 8022. This opensshd should take something like a customer passwd file which can include information ...
0
votes
0answers
57 views

SSH error “Connection reset by peer” - no obvious cause

I'm trying to SSH a shared host server and everything has been working fine for over a year, but now without explanation whenever I try to connect to it I get: ssh_exchange_identification: read: ...
1
vote
1answer
2k views

Make msysgit work with cygwin ssh?

git-upload-pack errors occur when sshing into cygwin. sshd in cygwin does not take paths from .bash_profile as expected in a *nix environment. What is the way to remedy this and make msysgit work ...
1
vote
1answer
338 views

How to fix SSH error “Write failed: Connection reset by peer” on server side?

I was running a long SSH process remotely on an Ubuntu machine (16.04) for a few hours, and eventually I got: Write failed: Connection reset by peer I was wondering what the cause is. Is it a time ...
2
votes
2answers
5k views

sshfs “Connection reset by peer”

ssh -i ~/keys/id_rsa root@192.168.1.201 Enter passphrase for key '/home/avin/keys/id_rsa': Last login: Tue Jul 17 11:01:28 2012 from 192.168.1.240 [root@rsh_management ~]# exit logout it's ok i'm ...
3
votes
3answers
8k views

SSH public keys not working

I've spent a few hours trying to solve this, but have gotten nowhere. The server is running CentOS 6 and using OpenSSH. The client is running OpenSSH too. I created a public key on the client (my ...
0
votes
0answers
160 views

SSH connection to Windows closed automatically using OpenSSH for Windows

I'm using OpenSSH for Windows (http://www.mls-software.com/opensshd.html). The sshd server is running fine on Windows, and I can authenticate myself from localhost as well as a remote Ubuntu computer. ...
0
votes
1answer
56 views

OpenSSH 'Server refused our key' and 'Access denied'

All configuration seems fine but OpenSSH replies with errors: 2048 bit keys was generated, public one put into C:\cygwin64\home\user\.ssh\authorized_keys. When trying to connect using PuTTY to ...
1
vote
1answer
670 views

ssh failiur: Offending RSA key in /var/lib/sss/pubconf/known_hosts

I know similar questions have been asked many times, but there's a difference here: Trying to ssh to the server I get: $ ssh cl11lx @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
-1
votes
2answers
22 views

Filezilla: Can I use a OpenSSH format key?

Hi I am using Filezilla version 3.17.0 and I'm trying to add a key to a connection in the openssh format. I am quite sure I got this working under Windows, but now I'm under Ubuntu and when I want to ...
0
votes
1answer
76 views

Why my reverse ssh is closing when I try to connect to it?

I'm using a reverse SSH tunnel on Debian with openssh-server and autossh: something like -R 1234:localhost:22 with a monitoring port also set. Generally, it works well, but I'm having the following ...
1
vote
1answer
35 views

Too many failed attempts, SSH is requesting PubKey I didn't set up

I think I, somehow, made too many attempts trying to login to my root@server using ssh. SSH is now asking for a public key authentication, which I have never set up. How do I log back in to my server,...
0
votes
3answers
97 views

SFTP server for Windows with its own users and folders?

anyone knows if there's a SFTP server for Windows, with these features? 1. sftp users db is separate from windows users (preferably a simple text file with user/password pairs or some kind of db with ...
1
vote
1answer
229 views

how to make non-root user to ssh using key instead of password?

I've recently purchased the Synology NAS 215j and having problems with SSH. Root user works as expected I've added my public key to /root/.ssh/authorized_keys... Problems with non-root user: sshd ...
0
votes
0answers
53 views

Public key authentication on openssh for windows can't open authorized_keys

I'm testing out the openssh stuff for windows and I'm having trouble getting public keys to work. I have followed most of the instructions here and I've generated the necessary keys on my other ...