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
7 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
9 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
26 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 ...
0
votes
0answers
37 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
32 views

Accessing mysql behind firewall with ssh port forwarding

I have an architecture which looks like this: | - DMZ - | ________ | ________ | _______ | CLIENT | | | SERVER | | | MYSQL | |________| | |________| | |_______| ...
0
votes
0answers
111 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 ...
0
votes
2answers
25 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
60 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
22 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
38 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 ...
5
votes
1answer
72 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 ...
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
34 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 ...
0
votes
3answers
61 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 ...
2
votes
1answer
69 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
99 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
136 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 ...
0
votes
0answers
33 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
14 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
91 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?
1
vote
0answers
95 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
43 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
41 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 ...
0
votes
1answer
25 views

What is the public key file that is generated by PuTTY?

If I'm using the PuTTY key generator to create a public/private key pair, there is a button to "Save public key" like so: However OpenSSH doesn't accept the format of this public key file, at least ...
3
votes
0answers
158 views

SSHD Consuming 100% of CPU (Hundreds of processes) - Will not die

Recently I've noticed that SSHd on a few systems I administrate will start spawning unstoppable processes which will consume huge amounts of CPU. The syscall shows that the processes are all ...
0
votes
0answers
38 views

ssh_exchange_identification after few attempts

To help find diagnose a ssh issue with a gitlab server, I've written the following script #!/bin/bash while : ; do ssh -v git@example.com || exit 1 done After few successful iterations ...
1
vote
2answers
74 views

how to speedup ssh-keygen

We are using beaglebone based custom board. In one of the init script we are generating ssh keys but it takes around 7 seconds to generate the ssh-keys. How do we speedup the process of generating ...
0
votes
0answers
107 views

Android SHH tunneling through school Wi-Fi

Ok so I'll try my best to explain the situation at hand here. My school recently got a new web filter that blocks literally, everything. I can't use Google Drive or anything that I need anymore. Our ...
1
vote
0answers
139 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 ...
-1
votes
1answer
86 views

Prevent multiple ssh-tunnel to same port and ip

Im creating a few ssh-tunnel connections to a remote system with this command: ssh -R port:localhost:2222 user@ip If this command is now execute multiple times, it will create every time a new ...
2
votes
1answer
80 views

GIT via OpenSSH in Powershell is fine, so why can't I connect in plain cmd console?

when I run ssh user@servername01 ...under powershell it connects without a problem, however when I run the same command under a standard cmd prompt I am prompted for a password (no password is set ...
0
votes
1answer
246 views

How do I specify the key exchange method in OpenSSH?

I'm trying to understand how OpenSSH decides what key exchange method to use. What I don't see is how to specify the method. In addition, I know every ssh server/client is required to support at least ...
0
votes
1answer
97 views

Forcing ssh connection to use rsa key authentication (no root)

Is there anyway as a standard user to be able to force all login attempts to my account to use rsaauthentication? I have a school linux login but obviously I don't have root access or sudo access, is ...
1
vote
1answer
122 views

Mass creating users who can login via ssh keys but not with a password

I am trying to mass creating users that can login via ssh private/public keys but which can not login with users (kind of like using newusers but I want to make sure users will not be able to login ...
1
vote
1answer
162 views

What ProxyCommand to use for ssh host-based authentication relay?

I have a host $HOST which I can (only) access by sshing to a host $BASTION and then, by host-based authentication, connect to with ssh $HOST. $HOST does not accept access by for example public-key ...
0
votes
1answer
37 views

SSH communication to go through Tor

I've been trying this more specifically the SSH: Method 3 (socat). At the end of the method it says: If you want every SSH communication to go through Tor, you can even say : Host * ProxyCommand ...
1
vote
3answers
73 views

Chroot sftp jail seems to be insistent on not working

So I followed this guide to the letter: http://markshust.com/2013/04/01/how-setup-chrootd-sftp-account-linux and a few other guides as well, but I seem to be incapable of getting a connection. I am ...
1
vote
1answer
32 views

OpenSSH client refuses to use a new key file

After generating a new ssh private key (id_rsa) on one server and distributing it across a server network, one server is failing to use the new key, and falls back to password authentication instead. ...
2
votes
3answers
3k 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: ...
0
votes
1answer
33 views

What is the keyword in .ssh/config for tunneling in the background?

In command line option, we can specify -N -f to let it run in the background. How about the identical keywords in .ssh/config? Instead of doing ssh dest -N -f -L 1337:localhost:1337 I would like to ...
0
votes
1answer
209 views

Use a server as a remote SOCKS proxy using OpenSSH

I want to use a server I have as a SOCKS proxy for browsing from my laptop. According to OpenSSH's man page, you can do that with the opcion -D -D port Specifies a local ``dynamic'' ...
0
votes
0answers
27 views

Connecting to Windows with OpenSSH using External IP

HELP I have been working on this issue for a few days now and its really getting frustrating, any help would be greatly appreciated. I will start with my setup. I have AT&T U-verse which comes ...
0
votes
4answers
321 views

Remote SSH to VirtualBox instance

I have an Ubuntu 13.10 instance running on a remote VirtualBox that I need to maintain for someone. I'm trying to figure out how I can SSH into this instance. Ubuntu has OpenSSH installed, but so far ...
1
vote
1answer
87 views

Bash command substitution and variable issue

I am writing some simple backup utility in bash and any output must be in JSON. I am checking for host reachability and if any error occurs, I want to print it out. However, I have an issue with ...
1
vote
1answer
105 views

Can not connect via sshd on scientific linux 6

I try to connect over ssh to my working machine (in the same network). The machine is reachable by ping and responds with the password prompt when I try to ssh it. But doesn't accept the password. I ...
0
votes
1answer
47 views

Why my reverse ssh is closing when I try to connect to it?

I'm using a reverse SSH tunnel on Debian with openssh-server and autossh: something like -R 1234:localhost:22 with a monitoring port also set. Generally, it works well, but I'm having the following ...
1
vote
0answers
243 views

Can I use a password ssh login on a passwordless windows 8.1 account? (Cygwin)

I recently installed Cygwin + OpenSSH (package) on Windows 8.1. However, I'm only using one passwordless Windows account on that machine, but I would like to login with SSH remotely with password (for ...
0
votes
1answer
69 views

After I switch default SSH ports, why does NMAP display port service as “down”

Running Ubuntu 13.04, I edit sshd_config to change Port 22 to Port 2022 When I reload my sshd service and nmap the server from my local machine, I get this: PORT STATE SERVICE 2022/tcp open ...
2
votes
1answer
149 views

OpenSSH ~/.ssh/config host-specific overrides not working

I've tried setting up my ~/.ssh/config file with the help of this guide. However, the host-specific User override has no effect and ssh tries to connect using the global username instead of the ...
1
vote
1answer
70 views

OpenSSH, FreeBSD screen overwrite when closing application

I installed a fresh FreeBSD 10 on a VM and connected via SSH and I've noticed that whenever i close a program (e.g., htop, top, nano etc) the contents of the session gets overwritten. This doesn't ...