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

9
votes
4answers
37k 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
394 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
34k 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 ...
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
928 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
850 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
463 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
908 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
12k 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
37k 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 ...
73
votes
8answers
163k 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?
3
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 ...