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
157 views

PuTTY 0.64 to OpenSSH 6.2 Connection Failure

I am having a problem connecting a PuTTY 0.64 client to an OpenSSH 6.2 server. The only two clues I have are the following, from the session log: We believe remote version has SSH-2 channel request ...
-1
votes
2answers
33 views

How to use openssh

I have two servers, A and B. A is a Windows 2003 server and B is a CentOS 7 server. I installed openssh for windows on A, but I don't know how to set B's ssh_config so that I can connect to B from A ...
1
vote
2answers
94 views

Why doesn't ssh always ask me to verify the server's key fingerprint?

Sometimes, when I connect over SSH to a server that is not in my known hosts file, ssh gives me the message: The authenticity of host '[domain] ([ip_address])' can't be established. RSA key ...
0
votes
0answers
70 views

SSH sessions has incredible delay, but way less when return/enter is pressed

When I connect to my server via SSH, the output on the terminal is extremely delayed. For instance when I type htop on my local computer, it takes quite a few seconds to be displayed on the terminal. ...
1
vote
0answers
88 views

Filezilla not asking for SSH-key password under LXQt

I can not connect to my webhoster with SSH Key in filezilla under LXQt. Filezilla does not ask for the SSH-key password like GNOME does, and says authentication was not possible und no connection was ...
1
vote
0answers
222 views

Can't connect using ssh keys to dropbear

I have two pair of (same) embedded device that runs linux. I have setup the same ssh key on both. I can connect to one using that key but the 2nd machine still ask for password. Obviously I am doing ...
1
vote
0answers
132 views

ssh command fails when run with ssh-dss as hostKeyAlgortihm

I am running two commands one after other. I run in the following sequence second command fails with error code 255 First Command: ssh -ladmin -oStrictHostKeyChecking=no \ -oUserKnownHostsFile=/...
1
vote
1answer
43 views

Why does ssh wait for all the launched processes to exit?

I am running a script from one machine on another machine using ssh. ssh <host> a.pl Now, a.pl starts several other instances of a.pl using the 'system' method and executing each of them in ...
0
votes
1answer
89 views

Embedded Linux board with NFS boot and SSH

We have a BeagleBone Black-based embedded Linux board. It has eMMC and I have setup for NFS boot also. When I am booting the board from eMMC, I am able to connect board through SSH but when I am ...
2
votes
2answers
319 views

SSH ignore global config

I want SSH to ignore the global configuration file in a shared user environment where I do not have control over system-wide configuration since there are settings which conflict with my expected use ...
1
vote
1answer
244 views

How to force mac to use ssh dsa key?

When I try to log on ssh in my linux server from OSX, I force it to use a dsa key with the ssh config file. However, before connecting with the dsa key, it tries to connect with a rsa key (which doesn'...
2
votes
1answer
78 views

Execute command after broken SSH connection

Is there a way to execute a command after an SSH connection is broken (blackout etc.)? When I normally log off I can just use .bash_logout but I don't know what to do when my connection breaks.
1
vote
1answer
645 views

OpenSSH 6.8p1 Cant use multiple AuthenticationMethods

I am running openssh 6.8p1 and I am trying to configure multiple authenticaton methods Its works with just AuthenticationMethods "publickey,password" but not with AuthenticationMethods "publickey,...
0
votes
0answers
288 views

Cannot SSH to Server after OpenSSH upgrade

One of my developers has taken it upon himself to update one of our production servers without backup to OpenSSH 6.2p, this server is and ubuntu box running in EC2, and now we are unable to SSH to it ...
0
votes
1answer
395 views

SSH to clients in VPN - connection refused

I'm trying to set up an OpenVPN network and allow computers on that network to SSH to one another. The reason for this setup is that one of the computers has a DHCP connection, and is behind a router ...
21
votes
9answers
38k views

Why does the “password” prompt take forever when I SSH into my Ubuntu 9.05 server?

Answer: It was, in fact, performing reverse DNS resolution. Based on the suggestions below and this article, I added "UseDNS no" to my sshd_config, rebooted ssh, and now the password prompt displays ...
0
votes
1answer
100 views

openSSH is ignoring the HOME env variable

I've been trying to sort out the Could not create directory issue with openSSH installed via cygwin, and have tried every solution I can find on the internet, but none of them are working... I've ...
0
votes
1answer
392 views

How does sshd under cygwin authenticate?

I know very little of Windows yet I have to work with a Windows server. The only way to make this bearable is with Cygwin and sshd. I have installed and configured sshd but I don't really understand ...
2
votes
1answer
42 views

Change SSH Server Key without bothering users

I read an article that openssh is able to "slowly" change the server key to a new one over time. A slow migration so to speak. So the user won't get those "Fingerprint has changed"-messages. ...
0
votes
1answer
496 views

pam_exec.so doesn't write password to script when expose_authtok is enabled

We are using PAM for authenticating with external radius server. We have the following line in /etc/pam.d/common-auth auth [success=6 default=ignore] pam_exec.so expose_authtok /home/cliuser/...
1
vote
1answer
154 views

connecting to host running ssh2 server using ssh client

I am trying to connect to a linux host( target_host) running sshd2 using a ssh client( client_host) ;While doing so I converted the pub key of client_host as ssh-keygen -e -f id_rsa.pub > ...
2
votes
1answer
190 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
0
votes
0answers
115 views

How can I do ssh or scp without restarting the sshd service

I had a problem related to ssh about a week back -- Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet. I was able to solve the problem. However, now I am facing another problem, where I ...
1
vote
0answers
300 views

Unable to setup OpenSSH server on Ubuntu

I have been spending the last 4 hours trying to get my VNC connection to work. Eventually, I realized it was because my Ubuntu remote host was unable to host SSH connections- even though I had already ...
1
vote
1answer
60 views

sshd_config for denying login attempts but with an exception

Summary I am trying to have sshd_config configured such that it rejects any login attempts for a specific user "foo" from source IPs starting with 10.0.0.*. However, I now need to make an exception. ...
1
vote
0answers
234 views

Creating new user on OpenSSH windows

I installed OpenSSH for windows (2003 server edition), and tried to generate a new user on an OpenSSH server (on which I already managed to log myself on) for a software use purpose, with a password. ...
2
votes
2answers
6k views

Unable to connect to SSH after generated public key and private key

Can some one help ? I have installed openssh (version OpenSSH_6.8p1) in windows 7 and I have generated the public and private keys, however I'm not able to connect to that SSH. I'm getting an error "...
0
votes
0answers
567 views

unable to ssh after generated public and private keys in windows 7

Can some one help ? I have installed openssh (version OpenSSH_6.8p1, OpenSSL 1.0.2a) in windows 7 and I have generated the public and private keys, however I'm not able to connect to that SSH. I'm ...
2
votes
1answer
450 views

SSH Server Not Responding To Connection Request

I'm attempting to set up an SSH server on my local machine using OpenSSH. When I try to SSH from a remote host into my local SSH server, the SSH server doesn't respond and the request times out. I'm ...
12
votes
8answers
43k views

OpenSSH server refuses to accept key authentication

I tried to use public key authentication on my new server, and I came across this problem. $ ssh -v -i .ssh/server 192.168.1.100 OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration ...
2
votes
3answers
860 views

SSH Private Key Authentication Failing

I'm kind of stuck here.. I am trying to disable all SSH login capabilities of root. No password login. No key-based login. Nothing. I have a user "andrew" that should only be able to SSH into my ...
7
votes
1answer
2k views

SSHD Consuming 100% of CPU (Hundreds of processes) - Will not die

Recently I've noticed that SSHd on a few systems I administrate will start spawning unstoppable processes which will consume huge amounts of CPU. The syscall shows that the processes are all 'running'...
13
votes
6answers
47k views

How to SSH to localhost without password?

EDIT: Putting exactly what was done. I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work. user@PC:~$ rm -rf .ssh/* user@PC:~$ ssh-keygen -t rsa &...
-1
votes
2answers
723 views

SSH Tunnel doesn't work

I use following command to make a ssh tunnel to my ubuntu server: ssh -fNg -L 8888:127.0.0.1:22 -p 1000 username@server-address -v Then I set OSX http and https proxy to 127.0.0.1:8888 And I got ...
0
votes
1answer
32 views

Doubled terminal emulation sessions renders foreground and background of characters the same color from the destination

I have some no graphics card (“headless”) server that I have to operate via the serial port as the console to install Linux, VMware, and other OSes. For a terminal server I use a Linux box with a USB ...
1
vote
2answers
14k views

Permission denied (publickey,password)

I am trying to connect to local ip via SSH from terminal. Command is ssh -v user@192.168.0.2 But it is not connecting. Keeps giving me the error "Permission denied (publickey,password)." I have ...
0
votes
2answers
210 views

Log Commands Run Over SSH on Client Side

I am looking for a way to run SSH (OpenSSH in particular, but not necessarily) and log all commands that I run against the remote, to a file locally. Running each command as an independent ssh ...
2
votes
1answer
90 views

Something I'm not “getting” about SSH keys: OS portability (Mac to Windows, etc.)

Let's say I create SSH keys in a Mac to connect to my remote server. My server has my public key. My Mac has my private key. So far so good. A few days later, I want to connect to my server by ...
3
votes
1answer
44 views

SSH key exchange configuration uncertainty

I'm currently configuring ssh on a server and reading trough several guides. Many feature a @url.tld after the option in KexAlgorithms like: KexAlgorithms curve25519-sha256@libssh.org This is ...
3
votes
1answer
803 views

How to convert a ppk to an openSSH private key encrypted with a passphrase

When I exported my private key in PuttyGen, I assumed that the passphrase I set was also used on the openSSH version. I'm finding that the passphrase I put in isn't working. What's the right way to ...
1
vote
2answers
121 views

Connecting two separate SSH connections together

I'm working on a small project and looking for some advice on how to make a portion of the project work. Goal - join two separate ssh sessions together. I want to see if keys used to login to bastion ...
1
vote
1answer
269 views

Rsync ask for password even though I can SSH in without a password using a key

This is the command I'm using: sudo rsync -rvz -e 'ssh -p 1111' ******@111.111.111.111:/home/sql/ /media/disk1/bd92a143-c4d7-4b70-bb6a-6576678fa96b/user/Backups/sql/4-6-2015 Any advice?
1
vote
1answer
178 views

How can I SSH from Hong Kong to China?

Me in Hong Kong, girl friend in China. I have installed SSH server on both computers. When both computers were in Hong Kong, I connected both to the internet (via my internet connection at home), ...
7
votes
1answer
3k views

ssh -o PreferredAuthentications: What's the difference between “password” and “keyboard-interactive”?

Both PreferredAuthentications=password and PreferredAuthentications=keyboard-interactive would prompt for the password, so what's the difference between them? I Google'd with the keywords ssh ...
0
votes
1answer
64 views

custom message ssh “ssh_exchange_identification: Connection closed by remote host”

Usually I am blocking hosts with /etc/hosts.deny. When restricted host trying to connect to the sshserver user gets following message "ssh_exchange_identification: Connection closed by remote host" ...
0
votes
0answers
72 views

Usage of ssh-agent with signed SSH keys

My ssh-agent doesn't want to store my credentials for Signed SSH key when connecting to a SSH server that use a SSH CA. I mean, each time i try to logon it ask me for the passphrase of the certified ...
0
votes
1answer
104 views

ssh session timeout using openssh client

I have a system which I can reach via ssh. I can reach it from a windows PC using putty and from a ubuntu system (Ubuntu 14.04.2 LTS). When I connect with putty to the system and doing the following ...
0
votes
2answers
196 views

Can't install openssh under ubuntu 14.04

I am just trying to install openssh-client and openssh-server on my Ubuntu 14.04 machine. When I do sudo apt-get install openssh-client I get the following: http://pastebin.com/YJp04iin (I ...
10
votes
2answers
11k views

git pull does nothing / git push just hangs / debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

I had an issue in ubuntu 13.10 and 12.10 where attempting to connect to github (git clone / pull / push or anything) would fail with no output. I checked my /.ssh directory for config and any ssh ...
0
votes
2answers
210 views

SSH Server Not Visible to the Public Internet

I have OpenSSH Server installed on a Ubuntu (Server) 14.04 machine. I can connect over my local network but cannot across the Internet. I have port forwarding set up on the router. I have tried: ...