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

2
votes
1answer
2k 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
1answer
18 views

Password less ssh AIX Linux

I tried to configure password less SSH from AIX to Linux. I executed the command. scp .ssh/id_rsa.pub root@10.170.163.74:/root/.ssh/authorized_keys When I execute the command and try to connect ...
5
votes
1answer
4k 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 ...
1
vote
1answer
13 views

SSH jump hosts error

I have trouble understanding a peculiar behavior of ssh jump hosts. I have these configurations in my ~/.ssh/config: Host bastion-server Hostname server.bastion.com ForwardAgent yes User user ...
0
votes
1answer
22 views

an ssh subsystem that does ls

Normally you create a subsystem by doing Subsystem vim /usr/bin/vim or something like that. So how would I do a subsystem that did ls -la? ie. you call the ls subsystem, it gives you an ls and then ...
2
votes
3answers
4k 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 : ...
3
votes
4answers
5k views

Cygwin sshd did not start due to a logon failure

After a cygwin sshd install, sshd service fails with: Error 1069: The service did not start due to a logon failure I try to give cyg_server standard user and admin access. The error is the same ...
0
votes
1answer
22 views

Interactive program ignores keystrokes on a CygWin OpenSSH Server

I am running Windows 7 SP1. I have installed CygWin with OpenSSH, so now I have a running SSH Daemon that seems to be working OK, except for a problem with an interactive command-line program that ...
1
vote
0answers
28 views

SSH Agent Forwarding not working even when using `ssh -A`

First of all, I've checked all the following Agent Forwarding not working Extra configuration required for ssh-agent forwarding? SSH Agent Forwarding Not Working ...
2
votes
2answers
422 views

How to use ssh-agent.exe without cygwin for pass-phrase protected private key?

I would like to access a SSH service with pass-phrase protected private key in Windows using ssh-agent.exe. So far I able to utilize ssh-agent.exe by changing environment setting in my home account ...
0
votes
1answer
40 views

openssh server not able to root login

I have root filesystem(compiled using Buildroot). I start openssh server by executing /usr/sbin/sshd. /usr/sbin/sshd uses /etc/sshd_config to configure itself . The parameters enabled in ...
1
vote
1answer
35 views

SSH config host match port

I have a server that has multiple "SSH daemons" running (actually Stash and OpenSSH), with different SSH keys needed for each. These daemons are listening on 2 different ports. In the SSH config on ...
12
votes
7answers
31k 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 ...
4
votes
3answers
3k views

Configure OSX Firewall to Allow SSH Server?

If I turn on my OSX firewall, ssh is disallowed. If I turn it off, ssh can connect just fine. These are the settings from the ssh host: while I don't know what I'm doing, I figured that giving ...
0
votes
0answers
27 views

autossh random monitoring port

I have multiple reverse ssh tunnels and I am trying to grab a free random port for monitoring. The forwards work fine and in most cases, when there is a disconnect, it will automatically reconnect. ...
0
votes
1answer
12 views

unable to use ssh-1 despite protocol being 2,1 in sshd_config file

When I do telnet localhost 22 I get SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1 back. Since my sshd_config file has Protocol 2,1 in it (vs Protocol 2) shouldn't I be getting SSH-1.99-OpenSSH-6.6p1 ...
1
vote
1answer
33 views

OpenSSH server refuses to accept key authentication unless logged into server locally

My server is running Ubuntu-Server and ahs OpenSSH-Server installed on it. I set up the /etc/ssh/sshd_config file to accept and require rsa keys, it looks for keys in the 'AuthorizedKeys ...
1
vote
2answers
967 views

SSH Constantly Hangs at SSH2_MSG_SERVICE_ACCEPT Received

I'm having problems with SSH. I can't connect to anything; every connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX 10.6.8. I'm thinking that it's a problem with my SSH ...
0
votes
0answers
69 views

SSH key verification fails when connecting for first time

I'm trying to connect and it fails to verify key. I have no problems when connecting by PuTTY. $ ssh -v xxx.xxx.xxx.xxx OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
0
votes
1answer
59 views

Accessing mysql behind firewall with ssh port forwarding

I have an architecture which looks like this: | - DMZ - | ________ | ________ | _______ | CLIENT | | | SERVER | | | MYSQL | |________| | |________| | |_______| ...
0
votes
2answers
30 views

ssh keeps asking for new password

I want to login to a Linux box with openssh installed. After each login ssh requests me to change my password because it is outdated. How can I prefent this? The server system is created with ...
0
votes
0answers
156 views

Unable to SSH into freshly installed debian VM, “Permission denied, please try again.” error

I just set up a Debian 7 VM. I can ping my VM from host OS, which is Ubuntu 14.1, but can not ssh into VM. Here is the output of ssh -v EDIT: I am using virtulbox. I am not using any command line ...
2
votes
3answers
4k 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: ...
3
votes
1answer
2k views

Can't write or download to SFTP on Ubuntu Server 10.04

I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64. I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...
0
votes
0answers
167 views

Ubuntu 14.04 ssh server hanging when connecting but pings works

I am running an Ubuntu ssh server with login and ChallengeResponseAuthentication enabled. However, the following command outputs this and hangs until timing out: ssh -vvv name@xxx.xx.xxx.xxx ...
0
votes
0answers
26 views

ssh-agent/ssh-add - how can I force confirmation by default?

I use ssh forwarding alot and I'm concerned about "agent hijacking", so, I like to use -c option when calling ssh-add, which enforces confirmation on every key usage. How can I turn the confirmations ...
0
votes
1answer
107 views

SSH authorized_keys and newline

I am trying to configure SSH with public-key authentication on Debian. I can't seem to get it to work because auth.log keeps saying that can't read key type:...(key line)\n. It keeps complaining ...
2
votes
0answers
376 views

Launchd not launching ssh-agent after plist edit

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument. I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist <array> ...
5
votes
1answer
150 views

How are Ciphers, MACs and Key exchange algorithms negotiated by OpenSSH?

Looking at the man page for sshd_config I see the default list of algorithms for Ciphers, Key Exchange (KEX) and MACs. In my set up, I have selected a subset of these algorithms for use (i.e. I don't ...
2
votes
1answer
4k views

Why does SSH hang at the end of these commands and how can I make it exit?

I run this: ssh -t -vvv -i ~/.ssh/druid-keypair -o StrictHostKeyChecking=no ubuntu@${INSTANCE_ADDRESS} <<EOI # Setup Oracle Java ... # Install dependencies - mysql must be built from source, ...
3
votes
2answers
3k views

1and1 ssh - connection refused

I'm having troubles connecting through SSH to my 1&1 account. When I try to connect with command userXXX@host -p22 -vv I have the following output: OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL ...
0
votes
1answer
23 views

Is there such a thing as a universal autorized_keys for 1 ssh_key to work on all accounts on a machine?

I run a webserver so I'm constantly making new accounts for new domains and logging into them over ssh. Is there a way that instead of pasting my id_dsa.pub file into a new authorized_keys file on ...
0
votes
0answers
39 views

How to set-up and run Open SSH?

I just installed Open SSH. It's not very friendly towards me I must say. The program files directory contains several .exe files without even a readme file. So far, I didn't even figure out which ...
1
vote
1answer
121 views

Can I get OpenSSH's sshd to accept a login for a non-existent user?

I'm trying to set up sshd to do some funky things on a dedicated server. (Which is to say, don't worry about why I'm asking such a strange question; I'm just experimenting to see how I can abuse ...
0
votes
3answers
81 views

How do I install OpenSSH on Ubuntu 12.10 without apt-get?

I need to use Ubuntu 12.10 and want to install OpenSSH on it. Since this is a deprecated version of Ubuntu I cannot use apt-get to attain the wanted package, so how should I move forth to be able to ...
1
vote
0answers
438 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 ...
2
votes
1answer
94 views

Using homebrew's OpenSSH on OS X with ZSH

I've installed the latest version of OpenSSH on OS X using homebrew. As per the instructions in the formula, I have edited the org.openbsd.ssh-agent.plist file to point to /usr/local/bin/ssh-agent, ...
0
votes
1answer
107 views

Trouble Installing SSH with Cygwin

I'm using Cygwin (or more specifically zsh installed via Cygwin) and I've installed all of the ssh packages including Net/openssh, but when I try to run ssh (or things like ssh-host-config) I get: ➜ ...
0
votes
1answer
238 views

Use custom SSH authentication mechanism (OpenSSH)

I have a collection of servers (Debian/Ubuntu) for which I need to create a custom ssh authentication mechanism. I found a couple of 'same-ish' examples for reference with Duo and Authy. They are ...
2
votes
3answers
17k views

Can't connect with putty to a Linux server

I can't connect with Putty to a Linux box. In the putty log I only get 3 lines and the last line is "Server unexpectedly closed network connection". FTP and ping to the Linux box works. Putty is ...
3
votes
3answers
8k views

One user can use SSHFS, other user gets “remote host has disconnected”

I have two users with valid SSH accounts on a server. Both users can login via ssh successfully. When trying to mount SSHFS, usera can mount with no problems, while userb gets the error: remote host ...
4
votes
2answers
3k views

Cannot connect to my mac via SSH

I want to open a connection to my mac (10.8) via SSH. An SSH-server is installed by default on OSX. Remote login is enabled, so the service is running and I can connect to to localhost via ssh. ...
45
votes
8answers
88k views

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...
0
votes
0answers
38 views

Two different system having same internal ip address

I am not sure if I am posting this in right forum. If not, please let me know. The problem is that I have two notebooks, one with Ubuntu 12.04 and other one with Ubuntu 14.04. Both the systems are ...
0
votes
0answers
15 views

Supply ssh key without querying agent

In my ssh_config, I set IdentityFile and IdentitiesOnly yes and ForwardAgent no. ssh uses this key but it still queries the agent! But it shouldn't do that; I explicitely supply the key I want. The ...
0
votes
1answer
248 views

Hide ssh version

I did a tcpdump when connecting to my server over ssh. First thing I see is: SSH-2.0-OpenSSH_5.3 Is it possible to make the server not send it's ssh version?
2
votes
2answers
307 views

Cannot scp file to an EC2 instance that I can ssh to

I have two EC2 instances that were created from the same AMI, which was created from the Amazon Linux AMI. These are running mysql in a master-slave configuration. The security group ("db") is ...
1
vote
0answers
121 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 ...
1
vote
1answer
61 views

Howto force ssh to use a specific private key?

With ssh -i <private key filename> you can instruct ssh to use an extra private key to try authentication. The documentation is not clear on how to explicitly use only that key.
0
votes
0answers
49 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...