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
1answer
626 views

Dynamic Proxy with OpenSSH and windows

Ok, so the goal is to be able to utilize the dynamic proxy method that OpenSSH provides with the -D option on the Linux client, such that any connection requests made against a local port are ...
6
votes
4answers
6k 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 /usr/...
4
votes
1answer
3k views

How to reduce latency with openssh?

I'm ssh-ing to a server several thousands kilometers away, and every keystroke takes 500-800ms, so it is getting annoying. Is it possible to have my ssh client cache each line I type locally and ...
0
votes
1answer
132 views

How can I change the directory in which I land when accessing a computer via SSH?

I always enter the computer in this directory: /cygdrive/c/Program Files/ICW/var How can I change that?
55
votes
8answers
18k 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 .ssh/...
10
votes
1answer
5k 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 ...
2
votes
2answers
9k views

Remove all the keys (credentials) from a PC

I gonna have to change my Windows PC with a colleague at office. I've added a few rsa ssh keys while playing around with git, github, heroku and a few others. What'd be the best way to remove all my ...
1
vote
2answers
242 views

Change OpenSSH account password in Linux

I suppose that my main Linux user account password serves as my SSH password as well. Is there a way I can modify this? As it turns out, I'd like to have a REALLY secure SSH password for obvious ...
2
votes
1answer
456 views

known_hosts file doesn't get populated anymore

I had a populated known_hosts file. I was editing it and for a split second I saw a permission error when I saved it. I went to check what the error was and the known_hosts file was blank. Now if I ...
1
vote
1answer
718 views

Console based speech program that can be run via SSH on Windows 7

I have just installed Cygwin with OpenSSH on my computer, and would like to have a speech program that I can run from a SSH session in a console, similar to the say command in Mac OS X. I have tried ...
1
vote
3answers
6k views

Why is OpenSSH not using the user specified in ssh_config?

I'm using OpenSSH from a Windows machine to connect to a Linux Mint 9 box. My Windows user name doesn't match the ssh target's user name, so I'm trying to specify the user to use for login using ...
5
votes
2answers
2k views

How to stop adding IP from EC2 to known_hosts for ssh?

I start/stop lots of new instances as I'm learning to use Amazon EC2. Every temporary instance is added to the known_hosts file. Is this ever a problem for others who use EC2 a lot? I'd like to tell ...
5
votes
6answers
10k 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 ...
0
votes
3answers
8k views

No /etc/init.d/sshd file? (Ubuntu / EC2)

On a fresh EC2 instance running Ubuntu, I see that there's no /etc/init.d/sshd file. I tried sudo apt-get install openssh-server And it shows that openssh-server is already the newest version. How ...
4
votes
1answer
57 views

Making SSH terminate on error

I have a script that is causing a bunch of ssh -D (socks proxy) connections to open. Sometimes one of them is trying to open on a port that is in use, in which case it prints an error. Unfortunately,...
2
votes
1answer
199 views

ssh_config -t option

Is there a way to add a host to ssh_config with a rule that emulates the -t option in the ssh command?
8
votes
1answer
4k views

Checking ssh keys have passphrases

I have a bunch of users, who with SSH keys have access to accounts on other servers. Currently I have a script which collects up the ssh public keys and distributes them to the correct account on the ...
1
vote
3answers
4k views

How to get SSH working on Linux laptop?

I recently became interested in SSH, and so I attempted to set up a SSH server on my Linux laptop. I am running moonOS, a version of Ubuntu with the Enlightenment WM. First of all I ran "sudo apt-get ...
0
votes
1answer
948 views

ssh-agent segmentation fault

I had openssh running just fine on cygwin. But after a recent update of openssh, I start getting the segmentation fault error when starting ssh-agent. Has anyone encountered such behavior and how can ...
1
vote
1answer
1k views

SSH Key Exchange from Cygwin to Ubuntu Fails

I'm trying to SSH from a Windows/Cygwin to Ubuntu. I am not using PuTTY. Instead, I'm using Cygwin ssh, which should be OpenSSH. I used ssh-user-config on the Windows machine to generate my key ...
1
vote
2answers
353 views

SSH Server Not Autostarting on Apple TV

I have an Apple TV onto which I installed Ubuntu Karmic. It works great save a small problem with SSH. The openssh-server package is installed and configured and can be started with sudo /etc/init.d/...
1
vote
3answers
1k views

Force OS X to use SOCKS5

Currently I am using an OpenSSH session (with the -D flag to enable dynamic application level port forwarding) as a SOCKS proxy while I'm accessing the internet through an unencrypted wireless access ...
8
votes
1answer
8k views

Denyhosts keeps adding my IP address to hosts.deny

I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine. This morning, I accidentally typed ...
3
votes
1answer
5k views

File encryption in a bash script without explicity providing password

I want to automate the following manual process. Currently, I am encryptying a set of files using openssl as follows: Encrypt file.txt to file.out using 256-bit AES in CBC mode $ openssl enc -...
1
vote
1answer
126 views

Serve ssh connection to wifi devices while connected to a wifi network

I was wondering if there's any way for a laptop to be both simultaneously connected to a wireless network, while at the same time acting as an ad-hoc network with local access to serve as a wifi ...
11
votes
4answers
40k 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
2answers
1k views

How to retrieve a public key from remote host?

I received from a partner an SSH private key also, I need to make a php script to connect to the host and send some data through this connexion. However I need to provide to the ssh php function a ...
0
votes
4answers
1k views

SSH Authorized_Key Login Works in One Direction Only

There are three files in my setup: id_rsa id_rsa.pub authorized_keys authorized_keys has a copy of id_rsa.pub contents to allow no-password logins. These files have been copied between two ...
1
vote
1answer
2k views

Unable to connect to CopSSH when running Windows service, works when running sshd directly

I've been using CopSSH (that uses OpenSSH and Cygwin, so I don't know which of the three is the problem) as my SSH server application at home on Windows 7 Ultimate 32 bit. I have used it for about a ...
1
vote
3answers
398 views

If I ssh to a domain provided by dyndns, does my password go through them?

I'm running Ubuntu on my work PC, and my work place provides me with a static IP address but not with a domain. It's sometimes useful for me to connect to that PC through ssh, but it's not common ...
0
votes
1answer
1k views

SSH doesn't work on Ubuntu

I am trying to connect to my webserver via ssh but I can't. When I insert the password nothing happens. This is what I see: # ssh username@username.example.com username@username.example.com's ...
1
vote
2answers
1k views

A failed login lockout system for ssh on Ubuntu that actually works?

Currently, my ssh server lets a user fail to login an infinite number of times (theoretically until the password is correctly guessed). I do not want this to be the case, I want the user to be banned ...
1
vote
2answers
220 views

ssh - Simple sharing files solution

The first time I use ssh connect ( putty ) when I try to share my contents from my windows and Linux ( VirtualBox ) . I find it's quite fast to share contents through ssh . And I've found that ...
1
vote
2answers
4k views

I can't login cygwin/ssh from Mac

I installed sshd on my cygwin, and I tested it on the local machine which works fine. sh-host-config -y cygrunsrv -S sshd But when I try to login from my Mac, I can't login to the cygwin. The ...
11
votes
3answers
36k 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 'ssh-host-...
3
votes
4answers
1k views

Is there a way I can use $PATH as defined by my bash profile?

I spend most of my day ssh'd into servers. I have a series of aliases/functions/scripts that allow me to type p hostname from the terminal and execute GNU screen(1) on the remote side, using the ...
11
votes
3answers
7k views

SSH: completly disabling password authentication

is there a way to disable password authentication completely? The command line is the following: ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no machine" it STILL asks for a ...
0
votes
3answers
929 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 ...
1
vote
1answer
870 views

How to login with an administrator account using OpenSSH on Windows 7?

I have just installed Cygwin and Openssh on my win7 box. After setting up the openssh, I can log in with my account (of course admin). But, I found my account under Ssh shell is filtered as a standard ...
2
votes
3answers
13k 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 ...
0
votes
1answer
465 views

Safety of reverse ssh tunnels

say I have a reverse tunnel from my computer to my shell account online. Does that make me more susceptible to being hacked? I want to use it for my macbook pro from my dorm room. Cheers
1
vote
5answers
911 views

OpenSSH server listening to non-standard port - recommended or not?

Is it recommended to have sshd listening on a non-standard port? The Ubuntu community documentation has a line which states: It's not recommended to listen on a non-standard port. It's on this ...
7
votes
2answers
3k 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 ...
1
vote
2answers
13k views

How to reset SSH configuration on my PC?

How can I reset all the SSH settings, so that it worked as after fresh install? (I may delete the keys, they're not needed anymore.) In Ubuntu 9.10, after a certain moment I started getting "Host key ...
21
votes
9answers
38k 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 ...
76
votes
9answers
176k views

Remove key from known_hosts

I 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 with the ...
12
votes
9answers
27k 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?
4
votes
1answer
2k views

OpenSSH public key structure

Let's say that my username is user and my computername is cmp. I notice they are also part of my SSH public key: (they are last, scroll right) user@cmp:~/.ssh$ ls config id_rsa id_rsa.pub ...