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

0
votes
1answer
60 views
+100

OpenSSH 5.3 - Change encryption algorithm for private key file

Using ssh-keygen, I need to generate a SSH private key file where the encryption algorithm used when using a passphrase is AES-128 with CBC mode. I know this is the default for OpenSSH >= 5.4 as per ...
2
votes
0answers
17 views

How to troubleshoot and diagnose “Write Failed: broken pipe” on SSH connection?

I'm experiencing quite a number of “Write Failed: broken pipe” on OS X ↔ OS X. Both machines have OpenSSH 7.1p, and the server is listening on 1522. Both machines are on the local LAN, but I'm ...
16
votes
4answers
3k views

how to disable SendEnv variables set in ssh_config from ~/.ssh/config

I couldn't find that anywhere so I'm wondering am I the only one hitting such issue. By default ssh on Red Hat and Debian at least has a ssh_config with SendEnv option passing LC* and LANG variables ...
0
votes
0answers
17 views

Compiling OpenSSH without “consolekit.patch”

I'm currently encountering issues with some tools that connect via SSH to a remote machine (Eclipse's remote deployment) to deploy files automatically. Around 90% of the time, when I initiate the ...
0
votes
1answer
34 views

What does “key_load_public: no such file or directory” mean?

I've been troubleshooting a PubkeyAuthentication-only issue. When I use verbose mode, I see a lot of "key_load_public: no such file or directory". Obviously, the keys exits on the filesystem, so that ...
0
votes
1answer
108 views

PubkeyAcceptedKeyTypes and ssh-dsa key type

I'm trying to test the order in which keys are tried. One of the system's users is using DSA, so I'm trying to test it as an option. I'm getting a Bad key types. $ ssh -vv -p 1522 ...
0
votes
2answers
27 views

Building OpenSSH for OS X?

I have on OS X 10.5 PowerMac (PowerPC) I use for testing. Apple has abandoned support for it. Others want access to the box for testing, so I need to build and install an updated OpenSSH. I visited ...
0
votes
1answer
24 views

Where is the configuration file for OpenSSH server?

I'm trying to disable password authentication at my SSH server. I found the client config file at ssh_config, but I can't find the server's configuration file. man ssh_config(5) does not appear to ...
1
vote
1answer
519 views

SSH server installation on windows

I'm working on a SSH project. For that I setup everything on client side. But I'm facing a problem on my SSH server. I tried some SSH servers like OpenSSH. I installed the OpenSSH server on my ...
0
votes
1answer
26 views

“Bad SSH2 cipher spec” with Protocol 2 ciphers and OpenSSH 7.1 Server

I'm trying to determine which cipher(s) an OpenSSH 7.1 server finds offensive. The OpenSSH 7.1 server was built with OpenSSL 1.0.2d. Below, I added the line breaks below for readability, but there ...
2
votes
3answers
5k 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 : ...
1
vote
1answer
14 views

How to instruct `sshd` to use its absolute path when forking?

I have an an older PowerMac G5 with a PowerPC that needs modern SSH access. There is no vendor support. I updated OpenSSL and OpenSSH, and installed them in /usr/local. The updated sshd is located at ...
0
votes
0answers
17 views

cygwin ssh connection OK via localhost, but not via 127.0.0.1

I've installed Cygwin and OpenSSH server on it. Cygwin version is 2.2.1(0.289/5/3) and OpenSSH version is 7.0p1-1 After some configuration, I can connect on my SSH server with: $ ssh ...
0
votes
1answer
13 views

What key will ssh client use if there is no .ssh/id_rsa* in my home folder?

When connecting to a host that expects key authentication, which key (if any) will be tried if there is no key found under the path ~/.ssh/id_rsa* when using ssh client from commandline in linux?
2
votes
1answer
216 views

Is OpenSSH sending an email to no-more-sessions@openssh.com every time I connect?

When I try to connect to my EC2 (Ubuntu 14.04.3) server with ssh -v server, I see this at the end of the log: debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). ...
0
votes
0answers
12 views

.ssh/config HostName part of alias

I know I can use %h to substitute the supplied host, e.g.: Host abc* HostName %h.xyz would allow for ssh abcdef as an alias to ssh abcdef.xyz. What I'm looking for is to get only the * part. ...
1
vote
0answers
17 views

OpenSSH test: failed proxy connect with privsep

I want to measure the coverage of tests of OpenSSH, but I get an error, when I run the connect-privsep test. I can't find out what is the problem. $ ./configure --with-cflags="-fprofile-arcs ...
0
votes
0answers
22 views

Enabling FIPS for openSSH causes freetds to not work

I have two CentOS 6.7 machines (server A and B). Same package versions are installed on each system. Last week I enabled the openSSH FIPS 140-2 module on Server A, and that system works flawlessly ...
4
votes
2answers
57 views

How to start ssh server on different port?

I want to start ssh server on port 21 (for one of my local hosts). OS X Yosemite (10.10.4) I've changed /etc/httpd_config by adding: Port 21 Then restarted server: sudo launchctl unload ...
0
votes
1answer
32 views

how to start ssh server on iOS?

I can't connect to my iphone via ssh. device is jailbroken and has openssh installed: $ ssh -V OpenSSH 6.7p1, OpenSSL 0.9.8zg 11 Jun 2015 I've found out that for some reason it doesn't have the ...
0
votes
1answer
50 views

Can't ssh to my iphone: ssh_exchange_identification: Connection closed by remote host

I'm trying to establish ssh connection from my laptop(macbookpro) to my iphone. when trying to copy keys from laptop to iphone getting: $ ssh-copy-id -i ~/.ssh/id_rsa.pub mobile@iphone.local ...
2
votes
2answers
4k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
1
vote
2answers
11 views

Why aren't my negative matches working?

The following entry in /etc/ssh/sshd_config works like a charm: Match User andreas ForceCommand /bin/echo "You are Andreas" However, if I try to replace it with a negative match, it does not ...
0
votes
1answer
18 views

SSH ClientAliveInterval specific to a user

I would like to know if there is a way to define different ClientAliveInterval and ClientAliveCountMax for different users. For example, I have users that can access the shell and want to set ...
1
vote
0answers
34 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
26 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
37 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
46 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
20 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
29 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
29 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 \ ...
1
vote
1answer
28 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
20 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
119 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
50 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 ...
2
votes
1answer
48 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
39 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 ...
0
votes
0answers
52 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
83 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 ...
20
votes
9answers
33k 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 ...
3
votes
3answers
7k 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
1answer
30 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
57 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 ...
1
vote
1answer
25 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
133 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 ...
1
vote
1answer
25 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 > ...
6
votes
2answers
6k 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 ...
2
votes
1answer
155 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
52 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 ...
0
votes
0answers
41 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 ...