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
2answers
479 views

OS X, SSH: use different private key files for different servers

I want to use different private key files to connect to different SSH servers (ssh://git-server:port/repository). How to manage that? SSH seems to assume the private key file in ~/.ssh/id_rsa.
0
votes
1answer
15 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
18 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 ...
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
3answers
187 views

Reach computer behind a NAT or Proxy

I have a home PC connected through twoway satellite modem. I cant reach from outside, so after a some research I found a solution which is reverse ssh tunneling. but I have a few question regarding ...
1
vote
0answers
89 views

Linux to Windows (OpenSSH) directory bindings

I've got OpenSSH working on a windows machine and have been able to successfully connect from Linux to Windows and vice-versa. I need to know how Linux paths are linked to windows while using scp. ...
1
vote
1answer
28 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
15 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 ...
1
vote
2answers
3k 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 : ...
0
votes
0answers
21 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 ...
2
votes
1answer
352 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
3answers
40 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 ...
0
votes
1answer
43 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
3answers
29 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
132 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 ...
6
votes
2answers
2k views

How to make ssh log in as the right user?

I use ssh on a variety of machines, mainly linux. Accounts on these machines vary in naming scheme: if my name is First Last, then I have accounts: first, flast, last_f, lastf, and sometimes I need to ...
6
votes
2answers
6k views

change default username when ssh to another pc [duplicate]

When I ssh between different pcs I can omit my username (tom) and just type ssh pc_name instead of ssh tom@pc_name I like this feature, and have got into the habit of using it. Unfortunately, ...
0
votes
0answers
34 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
1answer
42 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 ...
2
votes
3answers
3k 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 ...
2
votes
1answer
2k 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. ...
0
votes
0answers
19 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
2answers
588 views

OpenSSH (Windows) to SSH (Linux) key auth not working

I've setup an OpenSSH server on my windows machine and have been able to successfully SSH from windows box to my Linux machine (and vice-versa) successfully. Although, I am not able to set up key ...
0
votes
1answer
186 views

I am trying to ssh into a server and it hangs at login

I am trying to ssh into a server and it hangs at login. This is the output of ssh -v: OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data ...
0
votes
1answer
80 views

I can not match group in ssh using RSA Key with passphrase

I have two accounts on my computer. One account is named bob. The other account is for a user named joe. I am using RSA key with a passphrase. I can connect BUT when I add the lines Match Group joe ...
1
vote
1answer
3k views

sshfs “Connection reset by peer”

ssh -i ~/keys/id_rsa [email protected] Enter passphrase for key '/home/avin/keys/id_rsa': Last login: Tue Jul 17 11:01:28 2012 from 192.168.1.240 [root@rsh_management ~]# exit logout it's ok i'm ...
1
vote
1answer
242 views

Is there an equivalent to ssh-copy-id with OpenSSH in Powershell?

I'm using PowerShell and have OpenSSH 4.6 installed. I'd like to use ssh-copy-id so I can login using a key without doing through the manual process of copying keys to servers. Is there an equivalent ...
1
vote
1answer
37 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 ...
4
votes
6answers
7k views

How to tunnel port 25565 through SSH?

I want to play a game which is hosted on port 25565 (minecraft!), but my university firewall does not allow this port. I have a dedicated server running linux not too far from uni, so I think there's ...
29
votes
7answers
56k views

Remove key from known_hosts

I have 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 ...
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
21 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
41 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 ...
8
votes
9answers
15k views

How do I skip the “known_host” question the first time I connect to a machine via SSH with public/private keys? [duplicate]

How do I skip the "known_host" question the first time I connect to a machine via SSH with public/private keys?
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 ...
6
votes
1answer
3k views

How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH

So, I'm pretty sure this is true, but I haven't found a specifically detailed independent reference that directly answers my question. Question being: How can I add access to a resource that is ...
1
vote
1answer
26 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 ...
5
votes
6answers
22k 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 ...
1
vote
1answer
50 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 ...
8
votes
4answers
23k views

How to SSH to localhost without password?

EDIT: Putting exactly what was done. I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work. user@PC:~$ rm -rf .ssh/* user@PC:~$ ssh-keygen -t rsa ...
0
votes
1answer
332 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
301 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
126 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
73 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 ...
1
vote
3answers
297 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?
5
votes
4answers
14k views

Can someone explain the 'PasswordAuthentication' in the /etc/ssh/sshd_config file?

On this page, the explanation given is: The option PasswordAuthentication specifies whether we should use password-based authentication. For strong security, this option must always be set ...
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
47 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 ...