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

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 ...
3
votes
2answers
541 views

Keep alive with MyEnTunnel or other SSH-background tunnel app

I'm successfully using MyEnTunnel to forward traffic to a remote SOCKS-server. If I don't use the tunnel for a while the connection seems to turn stale, but doesn't fail, hence the browser waits for ...
2
votes
1answer
293 views

ssh private key works for root, but not for normal user

i have a linux (ubuntu 12) server, and a windows desktop. i am trying to connect via ssh and private key the server has these files rw------- root.root /root/.ssh rw------- root.root ...
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
471 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
590 views

Exclude specific group/users from ForceCommand in OpenSSH ssd_config

I want to make ForceCommand internal-sftp and ChrootDirectory /jail the default for all users accessing a server via SSH. Only users in a certain group are allowed to escape this. How can I exclude a ...
1
vote
1answer
418 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 ...
1
vote
2answers
300 views

SSH access via different ports on LAN vs WAN. Is it possible? How to configure?

I want to configure OpenSSH to use port 22 for LAN clients, but to use a non-standard port for all outside addresses. How would this be done? What I have in mind is imagined to be like this: Match ...
16
votes
10answers
21k views

Why does the “password” prompt take forever when I SSH into my Ubuntu 9.05 server?

Answer: It was, in fact, performing reverse DNS resolution. Based on the suggestions below and this article, I added "UseDNS no" to my sshd_config, rebooted ssh, and now the password prompt displays ...
0
votes
1answer
119 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
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
365 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 ...
1
vote
3answers
3k views

SSH public keys not working

I've spent a few hours trying to solve this, but have gotten nowhere. The server is running CentOS 6 and using OpenSSH. The client is running OpenSSH too. I created a public key on the client (my ...
0
votes
1answer
90 views

ssh key reset every computer restart

Every time I restart my computer I have to ssh-add my ssh key. I already have ssh key added on github. Does anyone know how to fix it? Thanks.
0
votes
0answers
28 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
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
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 ...
2
votes
3answers
11k views

Pretty SSH client for OSX? [closed]

I know cyberduck is a good ftp/sftp client, but what about a pretty ssh client that is at least separate from the terminal. I want to be able to leave it running with a reverse ssh tunnel so that I ...
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? ...
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 ...
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 ...
1
vote
4answers
900 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 ...
2
votes
1answer
188 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 ...
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, ...
2
votes
1answer
319 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
89 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
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
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 ...
0
votes
2answers
121 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 ...
7
votes
2answers
15k 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
434 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
451 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
358 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
89 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
2k 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
83 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 ...
0
votes
0answers
100 views

Confugure sshd in Window-7.x64 with OpenSSHWindows53p1

I was trying to configure SSH server in Windows-7.x64. Downloaded OpenSSHWindows53p1-2 and installed. As per the documentation, the installer is a bare minimum cygwin environment, just to run ssh and ...
21
votes
6answers
6k 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
312 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
334 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
53 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
38 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
96 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
111 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
3k 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
449 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
78 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 ...