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

1
vote
1answer
24 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 ...
0
votes
0answers
10 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
0answers
20 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
26 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
12 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. ...
1
vote
1answer
79 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
14 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
0answers
30 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
18 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
3answers
38 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
35 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
11 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
19 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
38 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
39 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 ...
1
vote
1answer
25 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
47 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 ...
0
votes
0answers
30 views

Questions to ssh connection with keys

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way: I've got 2 servers: server1 and backup I want server1 to connect to backup and ...
0
votes
1answer
299 views

Forwarded connection refused by server: Administratively prohibited [open failed]

I sometimes use PuTTY as a SOCKS proxy, and I've noticed that sometimes, when the web-page I'm trying to connect to (from the web-browser) does not exist, and requires a prolonged timeout, the shell ...
1
vote
1answer
261 views

git pull does nothing / git push just hangs / debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

I had an issue in ubuntu 13.10 and 12.10 where attempting to connect to github (git clone / pull / push or anything) would fail with no output. I checked my /.ssh directory for config and any ssh ...
0
votes
0answers
119 views

Running Python Code Remotely

I have the following situation: I want to write and debug python code in my Laptop with public IP Then send it to some remote desktop(with private IP) in my University for running the code that will ...
0
votes
0answers
70 views

OpenSSH on a Windows box using domain authentication: can't logon

On my windows 2008 box I just did what the steps said: mkgroup -d >> ..\etc\group mkpasswd -d -u username >> ..\etc\passwd In my passwd file, I see my user like it's been pulled in from the ...
0
votes
0answers
34 views

passwordless ssh-keygen not working [duplicate]

I've seen many pages on ssh problems similar to this but so far none of them answer my question. I've been trying to set up passwordless ssh for a while now with little success, I'm creating a blank ...
0
votes
0answers
44 views

authorized_users permissions while using a symbolic link

I recently had to replace my primary drive because some sectors were going bad and could not be recovered. Anyways, In an effort to get the system back up and running quickly, I made my /home dir a ...
1
vote
0answers
48 views

Configuring SSH server to require RSA key

I'm trying to configure my SSH server to require users to have an RSA key. To do this I have the settings in sshd_config set to RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile ...
1
vote
1answer
129 views

ssh <username>@<host> How do I find the user name and host name of my local machine?

I just installed openssh on my Xubuntu machine using this guide. It's installed successfully which I checked by doing ssh -v localhost. Now I want to ssh into this machine from my mac. I have my ...
3
votes
2answers
88 views

How can I get the root account to generate an acceptable ssh key?

On an ubuntu machine I did the following: ~$ sudo su - [sudo] password for jamie: root@mydomain:~# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key ...
0
votes
1answer
54 views

ssh config Host wildcards and fully-qualified names

I have a ~/.ssh/config file that looks like this: Host server* HostName %h.farm.example.com When I ssh server01, it connects to server01.farm.example.com correctly. But when I ssh ...
0
votes
1answer
461 views

Win7 OpenSSH config: no address associated with name

I am using OpenSSH on win7. My home dir is C:\Users\JG, and inside that dir I have the file C:\Users\JG\.ssh\config, with these contents: Host <redacted server ip here> HostName ...
1
vote
1answer
417 views

ssh localhost password-less Login not working

I have been trying to ssh localhost into the same machine. I copied the generated public key into the authorized_keys file. It still doesn't work. I have spent hours on trying to find a solution to ...
0
votes
1answer
118 views

How do I enable auto-logout of Interactive ssh logins after one hour

I have requirement where I want my ssh seesion to target will logout after one hour,but currently leaving an ssh session to target board idle does not get auto logout after one hour. Below is what is ...
0
votes
1answer
40 views

direct ssh connection when default proxy is configured in ~/.ssh/config

Here's my ssh config: Host *.* ProxyCommand /usr/bin/connect-proxy -S proxy.home.net:1080 %h %p It sets a default proxy for domains containing dots. I want to change it to connect directly ...
0
votes
0answers
20 views

SSH hangs at SSH2_MSG_SERVICE_ACCEPT received [duplicate]

Opened another question concerning this issue but it seems to have gone dead. I can't connect to anything; every ssh connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX ...
1
vote
1answer
362 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
27 views

SSH Key authentication works when key isn't in ~/.ssh/id_rsa

I have created an public/private ssh key using puttygen and it works fine to log into my server. I've also used puttygen to create a 'private-openssh' key, id_rsa that I can use to log in. However, ...
0
votes
1answer
191 views

Directive 'ChrootDirectory' is not allowed with new OpenSSH

I am trying to set up chrooted SFTP access but OpenSSH is giving this error: /etc/ssh/sshd_config: line 94: Bad configuration option: ChrootDirectory /etc/ssh/sshd_config line 94: Directive ...
0
votes
0answers
22 views

Linux load multiple key pairs for entire session

I'd like to load multiple key pairs for multiple AWS Ubuntu instances all running Open SSH so they are available for my entire session (until I log out or restart). I've been running this command ...
0
votes
0answers
97 views

OpenSSH (Windows) does not forward X11

I'm running Ubuntu 13.04 in VM and I wanted to do X11 forwarding to my host (Win 8), so far it works fine using PuTTY and XMing server for Windows. But I am curious why it doesn't work if I use ...
0
votes
2answers
295 views

generating keys for SSH

From the Open-SSH Documentation what does username@remotehost mean in the following: *By default the public key is saved in the file ~/.ssh/id_dsa.pub, while ~/.ssh/id_dsa is the private key. Now ...
0
votes
0answers
59 views

Reducing OpenSSH session key size

I am running into severe performance issues using SSH/Rsync on a Synology NAS (model DS413j if anybody knows anything about it). Both the sshd and the rsync processes are taking 100% CPU on the NAS, ...
0
votes
1answer
88 views

How can I add a ssh host key in a client programmatically?

After installing a server, I want it to connect to a remote host and add its host key to ssh without asking for confirmation, inside a script. Can I do so by passing the expected fingerprint to the ...
0
votes
0answers
117 views

Using another ssh instance as ProxyCommand?

There are plenty of "recipes" out there that suggest using Netcat for ProxyCommand with the ssh program (either on the command line or in the ~/.ssh/config file). The entry in the configuration file ...
1
vote
1answer
66 views

SSH certifificate authentication via .ssh/config

I can login to my server using a certificate if I issue the command directly in the shell: $ ssh -p 26000 rambo@jumanji.gov However, when I configure this host in .ssh/config falls back to password ...
0
votes
2answers
120 views

Why is SSH so slow over UMTS while SCP has acceptable speeds

I'm using ssh to access a laptop (running that connects to the internet through UMTS. It is painstakingly slow to type any command. However when I use SCP to copy a file from the same laptop to the ...
0
votes
1answer
181 views

OpenSSH vs PuTTY… - native support for proxy?

I am wonder a bit. I use openssh-clients-6.2p2-4.fc19.x86_64 on my Fedora 19. I set the environment variable through the console: "export http_proxy=http://someproxy.officenetwork" and in the same ...
1
vote
1answer
54 views

Why is it possible to continue working in a ssh session after a network disruption?

What enables the Secure Shell client and server to resume communication after one or several network interfaces in the communication path between them is shut down and re-appears some moments later? ...
1
vote
1answer
36 views

Does OpenSSH really replaces the programs that it says it does?

In www.openssh.org I read the following lines: The OpenSSH suite replaces rlogin and telnet with the ssh program, rcp with scp, and ftp with sftp. Also included is sshd (the server side of the ...
1
vote
1answer
449 views

Can I access a remote web server over an SSH connection?

I recently set up a remote server, which I have running the bare minimums currently. I set up OpenSSH and can access the machine through one of my domain names (using an A-type DNS record). I also ...
1
vote
1answer
430 views

known_hosts not updating, but ssh says it added

When I log in from termserv to any other servers, ssh asks me to verify the host fingerprint. Than it warns me that it added it and moves on. If I immediately log out and log back in, this happens ...
1
vote
3answers
292 views

Alternative ssh server - which is possible to configure to allow all connections without authentification?

Please tell me, is there a ssh server with this unusual capability? Or I would have to edit the source code of openssh-server and recompile?