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
1answer
1k 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
678 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
194 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
58 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
700 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
32 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
254 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
24 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
110 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
337 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
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, ...
0
votes
1answer
158 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
156 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 ...
1
vote
1answer
65 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 ...
2
votes
1answer
912 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
700 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
387 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?
1
vote
1answer
366 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 ...
1
vote
0answers
359 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
437 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 ...
1
vote
0answers
105 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. ...
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
2answers
973 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
61 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

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
0answers
586 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
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
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 ...
0
votes
1answer
411 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
454 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
156 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, ...
2
votes
1answer
509 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 ...
4
votes
1answer
893 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 ...
3
votes
1answer
342 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 ...
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 ...
2
votes
0answers
318 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> ...
0
votes
1answer
93 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
834 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
120 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
208 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
1answer
492 views

make command for installing OpenSSH on Ubuntu

I am currently trying to compile OpenSSH on Ubuntu. I am following the steps below which I got from the openssh website; (ref: http://www.openssh.com/openbsd.html) OpenSSH 6.2: March 22, 2013 ...
0
votes
1answer
288 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 ...