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

1
vote
0answers
47 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
20 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
23 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, ...
0
votes
0answers
21 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
12 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
52 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
18 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......
4
votes
3answers
6k 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/...
4
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
31 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
78 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
19 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
10 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 ...
75
votes
9answers
172k 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
30 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
2answers
43 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 ...
0
votes
0answers
34 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
263 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
103 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
41 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
433 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
19 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
75 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
24 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
81 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
205 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
29 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 ...
11
votes
7answers
14k views

How to edit known_hosts when several hosts share the same IP and DNS name?

I regularly ssh into a computer which is a dual-boot OS X / Linux computer. The two OS instance do not share the same host key, so they can be seen as two host sharing the same IP and DNS. Let's say ...
10
votes
3answers
10k views

ssh config under cygwin

I have Cygwin installed on Windows 7. I made default install. I would like to use ssh config file (~/.ssh/config) to set host and options for connecting. Normal ssh command is not able to find the ...
1
vote
3answers
3k views

How can I SSH into home computer from internet

I have a setup like follows I have a router that connects to the INTERNET, where my ISP provides dynamic ip two systems are connected to the router with locl ip 192.168.1.2 and 192.168.1.3 the ...
-1
votes
2answers
423 views

passwordless ssh works for root but not for other users

I did the following for both root and orainst users, I have added id_rsa.pub of first machine to the authorized_keys of the second machine I have 700 permission on .ssh folder passwordless ssh ...
1
vote
0answers
101 views

Set and restrict home directory win32-openssh on windows for sftp

Installed Win32-OpenSSH on Windows 2008R2 server. Using local users to login etc. Two questions: How do I set the home directory for How do I set the home directory for users? It is currently set to ...
0
votes
0answers
22 views

Cygwin SSH Connection Refused. Used to work

I am trying to SSH to my iDevice (jailbroken) and it used to work. Yet now I get this: $ ssh root@192.168.0.25 -v OpenSSH_7.2p2, OpenSSL 1.0.2g 1 Mar 2016 debug2: resolving "192.168.0.25" port 22 ...
0
votes
1answer
13 views

Making an ssh ControlPath connection act as slave-or-fail (not fallback to ControlMaster)

I'd like to force secondary ssh connection(s) to use an existing ControlMaster connection and fail if the master is not present. With ssh -o ControlPath=somewhere -o ControlMaster=no ... this new ...
0
votes
1answer
39 views

Yet another “ssh agent forwarding not working”

I can ssh from hostA to hostB and from hostA to hostC using keys loaded into ssh-agent without any problems. However, if I do ssh -A hostB from hostA, then try ssh hostC from hostB, public key ...
61
votes
4answers
44k views

How to make ssh tunnel open to public?

Well, referring back to this question, I am running the command ssh -R 8080:localhost:80 -N root@example.com on a Mac. Yet the port that is being tunneled is not working publicly. I am running such ...
0
votes
1answer
349 views

OSX 10.11 Bad SSH2 KexAlgorithms '+diffie-hellman-group1-sha1'

I have updated my /etc/ssh/sshd_config file based on the answers provided here - OSX 10.11 enable ssh diffie-hellman-group1-sha1 http://stackoverflow.com/questions/26424621/algorithm-negotiation-fail-...
0
votes
0answers
46 views

passwordless ssh-keygen not working [duplicate]

I've seen many pages on ssh problems similar to this but so far none of them answer my question. I've been trying to set up passwordless ssh for a while now with little success, I'm creating a blank ...
1
vote
1answer
57 views

Ssh Key Generation Algorithm

Ssh provides more than 1 algorithm for encryption of session data. Is the performance of each different ? If so, which is the best one?
11
votes
3answers
35k views

How to uninstall/reinstall cygwin to use the sshd?

I installed cygwin/sshd without good results. I removed the c:\cygwin directory to reinstall. I removed the sshd Administrator user by hand. I reinstalled the cygwin again, then run the 'ssh-host-...
1
vote
1answer
136 views

Ubuntu Server 14.04 - How to fix openssh “broken pipe” remotely?

I just set up an Ubuntu Server and configured it via SSH using openssh on the server. I had to restart and cannot connect via SSH due to Write failed: Broken pipe error. As far as my research goes (...
3
votes
3answers
2k views

SSH Constantly Hangs at SSH2_MSG_SERVICE_ACCEPT Received

I'm having problems with SSH. I can't connect to anything; every connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX 10.6.8. I'm thinking that it's a problem with my SSH ...
0
votes
1answer
25 views

Record the timestamp when Broken Pipe occurs?

When something goes wrong, SSH prints a message like the following: $ ... $ packet_write_wait: Connection to 45.78.157.165: Broken pipe I'd like to get a timestamp with the error to help with ...
0
votes
1answer
87 views

SSH permission denied from Linux to Windows using keys

I am a beginner in hadoop, and I am trying to set-up hadoop cluster in fully distribution mode. My master is windows and my slave machine is Linux running on VM. I have created SSH keys and in both ...
-3
votes
1answer
63 views

Work blocks OpenSSH but not putty [closed]

My place of work has a corporate firewall which blocks openSSH but not putty. I'm running Ubuntu, so it's no problem for me to use putty instead, but I have remote servers mounted using sshfs, which ...
0
votes
1answer
26 views

Once ssh-agent is killed due to power cycle, why am I still allowed to ssh without a password?

I have two linux servers running RHEL. I set up private keys for ssh using ssh-keygen. I also copied the .ssh folder from the user I created to that same user with intentions of using openmpi. I then ...