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

6
votes
4answers
2k views

Secure remote editing of root-accessible files over SSH

As per security best practices one should not allow root login over SSH with password or keys. Instead, sudo should be used. However, if one wants to use SSH (SFTP) for remote editing of server ...
1
vote
4answers
1k views

Managing a server over SSH

I am running a Minecraft server on Fedora 15. I have openssh-server installed on the server and I can connect to it just fine. Right now, the Minecraft server software opens into a terminal when the ...
0
votes
0answers
72 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, ...
2
votes
1answer
342 views

Is there any way to recover an environment variable?

I recently installed openssh on my Windows 7 machine. The install overwrote my Path variable and blew away all of the other paths I use in the command line. I probably have 50 paths in there and it is ...
0
votes
1answer
157 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 ...
1
vote
1answer
79 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
155 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
197 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 ...
8
votes
2answers
18k views

How to uninstall/reinstall cygwin to use the sshd?

I installed cygwin/sshd without good results. I removed the c:\cygwin directory to reinstall. I removed the sshd Administrator user by hand. I reinstalled the cygwin again, then run the ...
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
684 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 ...
2
votes
1answer
893 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
365 views

OpenVpn and SSH tunneling

first of all I'm a linux newbie and just rent my vps few days ago. I'm using this vps for ssh tunneling and web server (apache, php, etc). Today I want to install openvpn but I'm bit confused that if ...
0
votes
0answers
94 views

OpenSSH over VPN (unable to bring up tun0)

I have a nerwork(10.1.2.0/24) where i connected OpenSSH server and OpenSSH client via a switch. I am following this guide: http://bodhizazen.net/Tutorials/VPN-Over-SSH/ I can successfully ssh to ...
1
vote
1answer
3k views

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

See http://stackoverflow.com/questions/17479849/why-does-ssh-hang-when-i-finish-these-remote-commands?noredirect=1#comment25433324_17479849 I run this: ssh -t -vvv -i ~/.ssh/druid-keypair -o ...
0
votes
1answer
93 views

ssh/scp from client to target through proxy

I have a target host and proxy host and client host, the client host could not connect to the target host directly, even with command ping. I am wondering if there is anyway for me to ssh or scp from ...
22
votes
6answers
7k views

Is there a way for one SSH config file to include another one?

In case it matters: OS: Ubuntu 10.04 SSH: OpenSSH_5.3p1 Debian-3ubuntu5 I'd like one SSH config file to include another one. The use case would be to define whatever I want in my default ...
1
vote
0answers
358 views

git clone extremely slow using ssh

Originally I could do git clone using ssh at an acceptable speed. However my ubuntu crashed, so I reinstalled using the newest version 13.04. After I re-installed all I try to do git clone using ssh ...
2
votes
2answers
425 views

SSH 'Host key verification failed' error

I've generated my ssh key and uploaded it to my github account. What I do was copy directly my id_rsa.pub to my github account. I've verified the key to my local key using ssh-add -l, it was the ...
1
vote
0answers
57 views

how to simulate a file under linux?

I'm basically trying to do this using openssh: I have a private key, however it isn't in file (it's in memory). Now, I want to create the public key in openssh format. For that I would generally run ...
0
votes
1answer
59 views

Issues while setting up passwordless sftp

I was trying to set up a passwordless sftp from one Red Hat Linux server to another. As "oracle" user, I created the key-pair on server1, copied the publickey over to server2, and then added them to ...
0
votes
1answer
129 views

Sharing windows 7 id_rsa and id_dsa key to another OS

On my windows 7 I have both id_dsa and id_rsa keys. I've decided that I want to switch to ubuntu 12.04 LTS to be exact. can I transfer my id_dsa and id_rsa keys and other git configurations to Ubuntu? ...
0
votes
1answer
127 views

SSH tunnel from linux (ubuntu) to windows

I want to make an SSH tunnel from my Ubuntu to my PC (Windows 7). I found this tutorial for installing openSSH in Windows. I can connect successfully but when I run: ssh -D 8080 [user]@[ip] I ...
0
votes
4answers
5k views

How to connect home computers (Linux) from office computer (windows) using putty

Is there any way I can connect home computers (Linux) from office computer (windows) using putty. If yes, please tell me the step to make the connection.
0
votes
0answers
579 views

Configuring OpenSSH for Windows in Cygwin - can't leave blank password

I install OpenSSH in Cygwin under Windows 7 to install Hadoop. I had OpenSSH installed previously, but with a password. All attempts to remove password are failed, so I re-installed Cygwin. I want ...
0
votes
1answer
90 views

Could SSH client connect to SSHServer and create user if not exists?

My question is the next, Could I create users in server (on sshd), when ssh client connect to the server and in this moment create account in server with a spectific group and permissions for this ...
1
vote
3answers
921 views

ssh-keygen on snow leopard glitches in passwordless mode

I'm trying to use ssh-keygen to generate a key for a remote Linux server for passwordless entry. Unfortunately, it doesn't want to work: I keep having to enter a password. I'm wondering if there's ...
0
votes
1answer
445 views

sshd service listening on multiple ports

Well, I need use multiple and distinct ports where sshd will be listening, for distincts clients. Each client connect a different ssh port in real time. Can I put sshd service listening on multiple ...
2
votes
1answer
154 views

Allow shell access for key holders OR password login for whitelisted IP addresses

As a first line of defense against brute-force attacks, I've restricted SSH login attempts with TCP wrappers (denying access by default, and maintaining an IP whitelist in /etc/hosts.allow). However, ...
4
votes
1answer
862 views

Can I change the filename of my ssh public/private key pair?

I created a public/private key pair: ssh-keygen -t rsa -C "me@example.com" I gave a different key file name than id_rsa since I wanted to create a new separate key from my normal identity. I gave ...
0
votes
2answers
27 views

OpenSSH connection doent display Path or Name

I recently re-installed a Ubuntu server (12.10) and I happened to have a minor issue with OpenSSH. Once I created some new Accounts and logged into those the terminal always replys with "$". ...
3
votes
1answer
338 views

SSH: “no such identity”

I'm having a very peculiar problem getting SSH to work on my Linux box. I have a passwordless git user identified by an OpenSSH key. If I attempt to ssh into it from either the same or a different ...
1
vote
2answers
506 views

SSH client not showing prompt after successful login

I'm having problems with my SSH client on Ubuntu 10.10. When I switch on my computer and open a Terminal and execute the command ssh user@host, it gives me a password prompt after which I enter the ...
2
votes
0answers
317 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> ...
10
votes
2answers
1k views

How to determine the port allocated on the server for a dynamically bound openssh reverse tunnel?

When creating reverse tunnels on recent versions of OpenSSH a remote port of 0 can be given to bind any available port: -R [bind_address:]port:host:hostport ... If the port argument is ...
1
vote
1answer
822 views

Using OpenSSH Server without local user

Currently I've noticed when I use the OpenSSH Server with PAM and for instance RADIUS while I can get the user to authenticate successfully with PAM, I still need a local user account in /etc/passwd, ...
0
votes
2answers
119 views

Can a ssh key work for restricted to home user

I am currently running linuxmint and openssh. I have 2 accounts on my computer Joe and Bob. I have the keys and passphrase created by joe stored in the /home/joe/.ssh/ folder. I can connect to Joe ...
1
vote
1answer
206 views

openssh: “… disabled because of invalid user”, why?

I'm trying to make openssh work on android phone. When I'm trying to log in it refuses to accept my key. Here is the related lines of debug log: debug1: attempt 1 failures 0 debug2: ...
1
vote
2answers
2k views

Create a new known_hosts file for openSSH in windows

So i have OpenSSH in windows 7 at a university and i am basicly having this problem: When i first use SSH it is trying to create the known_hosts file on my university network drive H: But this is ...
0
votes
1answer
286 views

How to connect two computers using SSH tunneling

I have two linux computers in two different institutes. Computer1 is username1 with host1(internal ip 192.168.1.115) connected to server1(public ip 59.162.19.43). Second Computer2 is username2 with ...
0
votes
1answer
85 views

OpenSSH rejects private key passphrase

I'm on Ubuntu 12.04. When I try to connect to our server ssh user@server -p 1234 -i ~/path/to/my/private-key it asks me 3 times for the private key's passphrase and finally fails, though I always ...
0
votes
1answer
112 views

Logout safe way to have ssh-agent session for server processes

I am having a server process which is using a passphrase protected SSH key. Currently I log in via SSH to give the key every time the process is restarted. I do: eval `ssh-agent` ssh-add mykey # ...
1
vote
1answer
158 views

OS X - make ordinary SSH commands use SSH config

Here is a (somewhat redacted) listing of my ~/.ssh/config under OS X 10.6.8 Snow Leopard: Host * IdentitiesOnly yes Host foo1 IdentitiesOnly yes User foo1 HostName example.com ...
0
votes
0answers
2k views

Running rdesktop via SSH Tunnel causes ERROR: Failed to open display:

I can use rdesktop fine on my Linux Mint (3.2.0-23-generic kernel) system like this : rdesktop IPAddress However, I'd like to run rdesktop through my OpenSSH ssh tunnel. I using the following: ...
2
votes
1answer
142 views

Remotely generating key pair without passphrase

I'm trying to generate the key pair (without a passphrase) on a remote machine. The command I use for this is: ssh root@REMOTEIP ssh-keygen -t rsa -f /root/.ssh/id_rsa_new -q -N "" The output of ...
1
vote
2answers
133 views

Is there a difference if SSH key is created on serverside?

I've got a server running Ubuntu. I installed openssh-server and wanted to use ssh key for login purposes. Everything works fine except one thing. On Ubuntu's community site is written "This massively ...
0
votes
1answer
1k views

How to connect SSH to localhost in Windows7?

Connect SSH Secure Shell to localhost in Windows machine. What will be host name, username , port and authentication method filled in Quick connect of SSH? I tried with 127.0.0.1, but it is ...
4
votes
2answers
1k views

How do I forward a SSH port from any interface to a specific IP?

Here's the scenario: I have a desktop, running Windows 7 Ultimate. This desktop has VMware Workstation on it, and a virtual machine running a custom linux, that has OpenSSH installed and working. ...
0
votes
1answer
190 views

ssh authorized_keys on two machines

I have two machines with the same .ssh/authorized_keys (verified since (1) one is a copy of the other and (2) the md5sums of the file on both machines match) and the same /etc/ssh/sshd_config ...
0
votes
1answer
868 views

CentOS 6 sshd: Logging in works, but still claims “access denied”

I have just installed a plain CentOS 6.3 system. I enabled sshd, and try to connect with Putty. This works, but here is what I get: login as: user Access denied user@192.168.1.7's password: Last ...