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
499 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
5k 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 ...
3
votes
2answers
1k 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
8k 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
4k 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
56 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. ...
2
votes
1answer
168 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
3k 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
720 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
346 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 ...
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
6k 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
4k 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
123 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 ...
6
votes
4answers
23k 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
861 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
931 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
1k 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
383 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
212 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
3k 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 ...
8
votes
2answers
22k 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 ...
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 ...
10
votes
3answers
5k 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 ...
1
vote
3answers
924 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
772 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
12k 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
446 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
905 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
9k 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 ...
17
votes
9answers
29k 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 ...
51
votes
8answers
97k 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 ...
9
votes
9answers
20k 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?
3
votes
1answer
1k 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 ...