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
97 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
93 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
87 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
189 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
321 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
189 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 '100.107....
1
vote
3answers
115 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
468 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
69 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
273 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
98 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
3k 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
175 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 ...
0
votes
0answers
78 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 ...
1
vote
1answer
214 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 ...
20
votes
4answers
5k 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 ...
17
votes
1answer
19k 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 ...
10
votes
1answer
9k 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 jwalton@192.168.1....
0
votes
2answers
581 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
31 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
666 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
1k 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 ...
1
vote
1answer
176 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
80 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 username@...
0
votes
1answer
25 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?
0
votes
0answers
67 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
34 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 -ftest-...
0
votes
0answers
60 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
361 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 /System/...
0
votes
1answer
403 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
445 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 /usr/...
1
vote
2answers
92 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
90 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
145 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
89 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
69 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
83 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
212 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
124 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
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 ...
0
votes
1answer
82 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
297 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
231 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
567 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
263 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
381 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
95 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 ...