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

3
votes
4answers
13k views

no version information available (required by /usr/bin/ssh)

I am getting no version information available when making ssh. Openssl verion: sat:~# openssl version OpenSSL 1.0.1f 6 Jan 2014 Here is output of ldd /usr/bin/ssh: /usr/bin/ssh: ...
1
vote
1answer
31 views

Can I use the same key for SSH from different clients with the same username?

Situation: One server with SSH daemon. Multiple clients with the user myUser which should connect to the server via SSH. With password based authentication everything is fine. Now I would like to ...
1
vote
1answer
26 views

Ignore SSH host key verification for a subnet

I would like to tell my shs client(linux) to ignore the host key verification for a given range of IP addresses, is that possible ? Context : we have this DHCP range we use to build servers before ...
0
votes
2answers
1k views

How do you convert an SSH private key to a .ppk on the Windows command line?

I have generated a key pair with ssh-keygen. I now want to use the same key pair with PuTTY-based applications. Because I'm working in a CLI environment, I want to convert the key to the .ppk format ...
0
votes
1answer
17 views

How to setup ssh key login for a different user?

I am able to setup ssh key login for root user to my remote system from my local machine. Now I have created another user in my remote system like this, sudo useradd --system --gid webapps --shell ...
0
votes
1answer
14 views

SSH-agent not loading when remotely accessing the machine

I have this user account that I have correctly configured to manage my keys to ssh to other instances. When I sit in front of the machine my configuration works as described in my ~/.ssh/config ...
1
vote
1answer
13 views

Supress environment message after logging into server?

After logging into an OpenSSH server from OS X, the following message is printed: Last login: Sun Dec 27 15:47:12 2015 from 172.16.4.4 Environment: USER=jdoe LOGNAME=jdoe HOME=/Users/jdoe ...
0
votes
0answers
120 views

Can't run command using OpenSSH on Windows

I've just installed Win32-OpenSSH (from github) on Windows Server 2008 R2. It's up and running. Now I'm trying to connect from another host. The connection is established but I can't send commands. ...
1
vote
1answer
2k views

Getting “System error 1067” when installing OpenSSH

I try to install this OpenSSH package on windows Server 2008 R2. I applied all steps (except the firewall one) and all passed succesfully. When I try this command net start sshd I get this ...
-2
votes
1answer
45 views

What's considered the most reliable deployment of OpenSSH?

I have to install OpenSSH on some Windows Server machines (2008 R2, 2012 R2, 2003). I see there are some deployments (this one from Wikipedia and another one on GitHub and there might be more). ...
4
votes
1answer
1k 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 ...
4
votes
0answers
45 views

CPU spikes to 100% when using openSSH for windows

I am using openSSH for windows (OpenSSH 7.1p1-1). I noticed that after few days that the sshd.exe processes are at the range of 20% cpu the spike to 100% utilization all taken by the processes. i ...
0
votes
1answer
198 views

Cygwin Openssh key authentication doesn't work in Windows environment

I use Unison on a Windows 10 machine to backup my files to a remote server running CentOS. I connect to the remote machine without a password using OpenSSH and public keys in Cygwin. I have never had ...
1
vote
1answer
176 views

SFTP: Connection closed

I'm trying to connect via sftp to my Synology NAS 215j running sftp server. The sshd works great for root user, but when I do sftp as root, I'm getting Connection closed just after typing correct ...
0
votes
1answer
35 views

ssh closing connection during login for just one particular user

I'm facing this weird issue where the SSH server is closing the connection during login itself for this particular user. I never see the password prompt for the user, server closes connection even ...
13
votes
3answers
112k 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 ...
3
votes
0answers
44 views

SSH can't read a key from custom authorized_keys file because of a comma

I inherited some code; among other things, there is a custom authorized_keys file with X.509 keys in a format like this one: x509v3-sign-rsa subject:O=GrandsChocolatiers Ltd.,OU=Management,OU=Top ...
2
votes
1answer
32 views

Will no-port-forwarding in authorized_keys disable all port forwarding?

Here port forwarding I means ALL kinds of port forwarding, -D dynamic port forwarding(for socks4 and socks5 now), -L local port forwarding to remote, -R remote port forwarding to local. How to fine ...
0
votes
2answers
99 views

How does OpenSSH decide which host key to use?

By default, in my current version (6.9p1), OpenSSH Server will create four types of host keys: $ ls /etc/ssh/ssh_host_*_key.pub /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_ecdsa_key.pub ...
1
vote
2answers
265 views

OpenSSH offering wrong public key

I like to work with some personal Github repos from my work computer (Windows 7) occasionally so after spending way more time than I bargained for learning about how SSH works I created a different ...
0
votes
1answer
3k views

How to connect SSH to localhost in Windows7?

Connect SSH Secure Shell to localhost in Windows machine. What will be host name, username , port and authentication method filled in Quick connect of SSH? I tried with 127.0.0.1, but it is ...
2
votes
0answers
88 views

What may cause .ssh/config changes to be ignored

I had a ~/.ssh/config file that was working fine. it was in this format: Host * IdentityFile ~/.ssh/id_null TCPKeepAlive no ServerAliveCountMax 5000 Host *.domain.com User mydomainuser ...
0
votes
1answer
23 views

enabling multi factor authentication on openssh (publickey + password)

I'd like to make it so that you need to provide the SSH server with a password and an RSA key to login. I can make password protected RSA keys but in that case the password for the RSA key isn't ...
0
votes
1answer
109 views

Disable “Permanently added <host> …” warning on local LAN

I have the following in my ssh_config to connect to machines on my local LAN and machines in a VM: Host 172.16.*.* StrictHostKeyChecking no UserKnownHostsFile /dev/null However, each time I connect ...
0
votes
0answers
54 views

connect 2 lxc containers using ansible

I've got this error trying to connect 2 lxc containers using ansible, the errors are in the ssh part of. the simple playbook play1.yml is: - name: playbook comunicazione tra 2 container hosts: ...
1
vote
0answers
355 views

How to set up OpenSSH (server) on Windows 7?

What is the proper way to install OpenSSH (using the latest binary from mls-software) on Windows 7 and configure it to enable remote users to connect via password of public key authentication? I ...
8
votes
1answer
2k 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). ...
4
votes
2answers
5k 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 ...
0
votes
0answers
167 views

Kali Linux 2 on Raspberry Pi B - SSH autostart problems

I recently got a Raspberry Pi model B and I decided to install Kali Linux 2 on it. The only problem I'm getting is SSH services (OpenSSH) won't start on boot no matter what I try, making it impossible ...
0
votes
0answers
267 views

unable to install openssh-server on ubuntu

I downloaded Ubuntu 14.04.3 LTS (64-bit) from http://www.ubuntu.com/download/desktop and am now unable to install openssh-server. Here's what happens when I try: ubuntu@ubuntu:~$ sudo apt-get install ...
0
votes
1answer
353 views

Can't get sshd_config Match User to work

Am exploring ssh on my el capitan laptop and have managed to get key-based login to work (using an account called adminuser). I now want to see if I can get another administrator account (called ...
0
votes
1answer
68 views

Cannot connect with public/private key between different version of openSSH

I generate public/private keys to connecto to server with ssh without write password every time. I'm using: Client: Debian GNU/Linux 8.2 (jessie) with Kernel 3.16.0-4-amd64 OpenSSH_6.7p1 Debian-5, ...
1
vote
0answers
494 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
0
votes
1answer
23 views

Specific instructions or workaround for SSH to iPhone

I am trying to ssh to a jailbroken iphone 4 (OS 7.1.2) from a macbook pro (OS 10.11.1) on university wireless network. The laptop and the iphone are sitting on the same desk, and the wifi router ...
0
votes
1answer
45 views

AllowUsers with nothing following it in sshd_config file?

I have no way of testing this and can't find the answer online. If I put AllowUsers in my sshd_config file with nothing following it would the behavior be to allow everyone to SSH into the computer, ...
0
votes
2answers
83 views

Generate RSAv2 key in OpenSSH format in Windows

I have to generate a key, RSA v2 in OpenSSH format. I am a bit confused. I am trying to generate it using Putty Key Generator. There I see an option SSH2-RSA, SSH1-RSA. So is SSH2-RSA the RSA2 key or ...
0
votes
1answer
59 views

Why is Rsync is only sending an incremental file list via SSH?

I’m trying to copy clean Arch Linux installation and send it to other VPS trought SSH. It doesn’t do anything else than send out an incremental file list. rsync -axH --delete -e ssh --stats -P build/ ...
1
vote
1answer
32 views

Why are there 2 ssh services?

I just downloaded a virtual appliance built on Debian and went to enable sshd but saw this: What is the difference between ssh.service and ssh@.service and where is sshd? I checked and ...
3
votes
2answers
159 views

SSH escape key (“~”) only works when connection is stuck?

When I have an unresponsive SSH connection, I can kill it with <enter>~.. However, when the connection is responding, the ~ escape doesn't work. It just prints a tilda at the console. So if I ...
3
votes
1answer
221 views

SSH Public Key Authentication

I've been having trouble trying to authenticate my macbook air client using ssh to connect to my Raspberry Pi server. Are there any suggestions as to why this isn't working? Things I've tried: ...
0
votes
0answers
88 views

unable to initiate port forwarding with ssh

I start sshd on 192.168.1.8 with the following: sudo /usr/sbin/sshd -ddd I then try to open an SSH tunnel to 192.168.1.5:1234 and am unable to do so. Here's what sshd -ddd says: debug1: ...
0
votes
0answers
82 views

OpenSSH Windows 7 Public Key Authentication

I installed OpenSSH on a Windows 7 machine as LOCAL_SYSTEM account as the option and also allowed key size of 2048. I am able to connect using Windows login however when i implement Public key ...
0
votes
1answer
73 views

Public key authentication on Windows OpenSSH server

I have two Windows machines running on Ubuntu virtual box. Both machines have OpenSSH installed. I can connect from one to another using ssh and passwords, but I can not figure out how to use keys. I ...
0
votes
2answers
173 views

SSH: Permission Denied in Cygwin, works in Putty

I am trying to SSH into a server, where I do not have root privileges. I don't like using Putty, I prefer Cygwin. I can log into the server using Putty, but using the exact same private key and typing ...
1
vote
1answer
245 views

Error in running sshd as a service in cygwin

I am using cygwin run sshd. But now the sshd is not running as a service. When I start the service using 'net start sshd', Message comes like, "the cygwin sshd service could not be started.The service ...
0
votes
0answers
181 views

Cant access my device via SSH over internet

im running sshdroid server on my android device at port 22 and i get this while i use my pc to connect to it via ssh (LAN) root@kali:~# ssh -l root 100.107.219.116 The authenticity of host ...
1
vote
3answers
106 views

SSH over public LAN?

I am using two laptops (OS X and Windows 10) at a Starbucks and want to transfer a file from one to the other without using a USB flash drive. It is a large file so I don't want to send it over the ...
2
votes
1answer
422 views

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

I’m experiencing quite a number of “Write Failed: broken pipe” errors on Mac OS X to Mac OS X connections. Both machines have OpenSSH 7.1p, and the server is listening on port 1522. Both machines are ...
1
vote
0answers
60 views

Cygwin mounted drive not accessible from remote machine

I have a mounted share drive l: on a Windows 7 64 bit machine I will call box1. In Cygwin on box1, I type mount and the mounted drive shows up correctly as L: on /cygdrive/l type ntfs (binary). When ...
0
votes
1answer
250 views

How can I be my own Certificate Authority (CA) and generate ssh keys for my client computers

I have seen a lot of tutorials about how you can be your own Certificate Authority (CA). The tutorials that I have seen are on how to generate ssl keys not ssh keys so I was wondering how do I ...