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
0answers
226 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
65 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, ...
0
votes
1answer
321 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
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 ...
1
vote
2answers
229 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
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
76 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 ...
1
vote
1answer
30 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 ...
0
votes
1answer
57 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/ ...
3
votes
2answers
119 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
215 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
85 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
74 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
69 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
164 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
182 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
174 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
101 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 ...
1
vote
0answers
52 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
212 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 ...
1
vote
0answers
78 views

How can I find out the failed login attempts in windows cygwin open ssh

How can I find out the failed login attempts in windows cygwin open ssh i looked inside this path but did not find any logs with failed attempts C:\cygwin\var\log
1
vote
1answer
2k views

Adding a Public Key to known_hosts File

I have downloaded the ECDSA public key (ssh_host_ecdsa_key.pub) from another machine. I want to add the key to my local known_hosts file before connecting to it via SSH. How can I do that manually ...
2
votes
2answers
155 views

SSH Login Without Password failed,no hmac-sha2-256,hmac-sha2-512 are used when kex_parse_kexinit

In my cluster, SSH login without password is okay. But after I restart the sshd service, only two servers cannot SSH login without password. Others are OK. I compare the successes log with the failed ...
2
votes
1answer
384 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 ...
9
votes
1answer
8k 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 ...
14
votes
1answer
15k 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
0answers
65 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
859 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 ...
0
votes
1answer
29 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
187 views

How to change encryption algorithm for private key file using OpenSSH 5.3

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 ...
1
vote
1answer
159 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
2answers
453 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
0answers
64 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
24 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?
7
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). ...
0
votes
0answers
56 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
33 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
54 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
322 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
324 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
385 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 ...
1
vote
2answers
69 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
78 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
129 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
32 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
80 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
68 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
177 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
103 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
42 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 ...