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
0answers
455 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
79 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
920 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
333 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 ...
0
votes
0answers
89 views

SSH Key configuration

OK, so, this is what I'm trying to do: I have my own personal SSH key (with a password) that I use to ssh into any box that I'm authorized to, for shell access (or whatever else)... I have other ...
0
votes
0answers
366 views

SSH login issues using windows Open SSH

I have installed openssh in windows 7 pc and tried to login windows by ssh command. But am unable to login to SSH server due to "ssh_exchange_identification: Connection closed by remote host" and ...
2
votes
1answer
135 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, ...
0
votes
0answers
27 views

SSH server - limit access from global Internet

Can I configure my SSH server in a way that only specific users will be able to SSH from outside the LAN? I want to be sure that only local users will have regular access, and a special, limited, ...
3
votes
1answer
399 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 "[email protected]" 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
271 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
439 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
245 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
913 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
604 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
105 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
157 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
427 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 ...
1
vote
2answers
1k 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
232 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
83 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
102 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
0answers
1k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
1
vote
1answer
135 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
1k 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
118 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
109 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
796 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 ...
3
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
169 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
698 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 [email protected]'s password: Last ...
2
votes
0answers
79 views

SSH through a tunnel or directly depending on the network I'm conncted to

Is it possible to "automatically" configure ssh to use a gateway to connect to a remote machine based on the client's IP address or something in the likes? Suppose I'm at my laptop, which I can plug ...
0
votes
0answers
158 views

Connecting SSH with OpenSSH key

I have a CentOS 6 server and I want to connect to it with a private key. On Windows, I use PuTTY Keygen and paste the public key in my server, in .ssh/authorized_keys2 (also tried authorized_keys, ...
2
votes
2answers
27k views

SSH Permission denied on Correct Password Authentication

I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here ...
2
votes
3answers
880 views

How to configure ssh client to automatically execute commands on connect?

I frequently connect to servers through a user I share with other colleagues, every time I connect to each server I execute a couple of commands like bash, set -o vi, etc. I would want to know if ...
1
vote
1answer
704 views

Need help tunneling Remote Desktop (RDP) over SSH using OpenSSH

So heres my set up. The picture isn't "Exact" I have modified it, but it gives you an idea. The tools I am using are: PUTTY OpenSSH CYGWIN Remote Desktop VMware vCenter Server Version 5.1.0 ...
1
vote
2answers
139 views

Using OpenSSH on Windows for enterprise use

Is OpenSSH for Windows (using Cygwin) is considered to be robust & stable for enterprise use?
1
vote
1answer
2k views

Cannot successfully configure OpenSSH via CYGWIN in Windows 2008

I need help configuring OpenSSH on Win2008 via CYGWIN! THANKS in advance! I am trying to configure an OpenSSH server on Windows Server 2008 Datacenter via CYGWIN. I have installed and configured ...
0
votes
2answers
2k views

What's missing from my sftp chroot setup?

I've followed a half-dozen different tutorials on setting up chroot for sftp users, but my jailed users can still browse up into parent directories. I suspect my permissions aren't set up correctly, ...
1
vote
4answers
13k views

Can't connect with putty to a Linux server

I can't connect with Putty to a Linux box. In the putty log I only get 3 lines and the last line is "Server unexpectedly closed network connection". FTP and ping to the Linux box works. Putty is ...
2
votes
1answer
62 views

ssh not working with yes

I had to solve a fringe case lately where I had to add a number of server fingerprints to a user's known_hosts (the authorization is performed with a keypair). I thought the easiest solution would be ...
3
votes
5answers
5k views

How to edit known_hosts when several hosts share the same IP and DNS name?

I regularly ssh into a computer which is a dual-boot OS X / Linux computer. The two OS instance do not share the same host key, so they can be seen as two host sharing the same IP and DNS. Let's say ...
1
vote
0answers
383 views

ProxyCommand with sudo

I'm trying to set up SSH so that I can easily log into an server that is accessible only via a sudo to an intermediate server. From the command line, logging into it is of the form: sudo -u admin ...
2
votes
3answers
142 views

How to prevent a user from viewing the entire file-system?

I've set up SFTP/SSH so that a user can only put to their home directory, however, they can still cd to all other directories and get files that they see. How can I prevent this? EDIT: My ...
1
vote
0answers
252 views

trying to remote in to work computer via an ssh tunnel [closed]

Trying to remote into a windows machine from a mac using their instructions: On your home computer, install and open putty (http://www.putty.org/) Enter a name into the Saved Sessions field. Enter ...
1
vote
2answers
581 views

How can I SSH into home computer from internet

I have a setup like follows I have a router that connects to the INTERNET, where my ISP provides dynamic ip two systems are connected to the router with locl ip 192.168.1.2 and 192.168.1.3 the ...
1
vote
1answer
1k views

Stop ssh tunnel (stop listening on port without killing process)

In an ssh session, one can start tunneling with the keystrokes ~C and entering (e.g.) -L80:localhost:80. However, is there any way to stop tunneling on that port (short of killing the process)?
4
votes
2answers
2k views

Configure OSX Firewall to Allow SSH Server?

If I turn on my OSX firewall, ssh is disallowed. If I turn it off, ssh can connect just fine. These are the settings from the ssh host: while I don't know what I'm doing, I figured that giving ...
1
vote
1answer
809 views

Does the right half of the rsa public key matter?

In a public key file "id_rsa.pub" generated by ssh-keygen, does the part after the == matter? I ask because when I changed "[email protected]" to "root", it seems to still work. More generally, I ...
1
vote
1answer
120 views

How do I check if a process (Firefox) has quit?

I am using Ubuntu 12.04 64-bit, with all updates installed. I made a simple shell script that starts a SOCKS5 tunnel and launches Firefox (with correct network proxy settings) to use the tunnel. How ...