Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

1
vote
1answer
359 views

Cannot connect to ec2 instance

I've created a new ec2 instance based on the php cloudformatino image ami-6fc2f61b and attached my existing key to it. Security group allows ssh and http. Yet, I'm unable to connect: $ ssh -v -i ...
1
vote
3answers
669 views

SSH connection keeps crashing

although this is not a real programming question perhaps anyone has any idea regarding my problem. It's pretty weird. When I remotely connect one of our ubuntu servers per ssh the connection can be ...
1
vote
1answer
224 views

SSH directly “through” another server [duplicate]

Possible Duplicate: How to configure a shortcut for an SSH connection through a SSH tunnel Multiple networks I can connect to have the following set up. There is a single node that can be ...
1
vote
3answers
2k views

SFTP server on Windows using LDAP for authentication [closed]

I need to set up an SFTP server on a Windows 2008 Server machine that will be used to recieve large files (~200MB). I need the server to authenticate any users trying to log on, against the company's ...
1
vote
5answers
2k views

ssh access without password

I know that it is possible to ssh to another server without a password if authentication keys are set on both the servers. But I will like to know if it is possible to allow users from any IP ...
0
votes
1answer
393 views

Managing SSH keys for multiple users for multiple systems (ie github like ssh key ui)

So we are trying to lock down our systems to be accessed only by a few logical users (users on the Linux machines) but many physical users. That is all the developers can login as user dev with their ...
-1
votes
4answers
1k views

Dump all databases with SSH access

I would like to know how to dump all databases into a folder. I'm using a Linux/Debian Afer connecting on the server with root access I make $ mysql -u admin -p To connect on mysql. Then which ...
8
votes
3answers
1k views

How to tell if a public SSH key has a passphrase

This is probably a noob question, but how can I determine if the public SSH key someone gives me has a passphrase or not? We have a situation where I am not generating the SSH keys for users, but I ...
8
votes
11answers
15k views

ssh session idle timeout

The Solaris machine we do most of our development on has an annoying habit of timing out SSH sessions. Doesn't matter whether the client is my Ubuntu desktop, my Solaris desktop or my Windows desktop ...
5
votes
1answer
512 views

SSH client name resolution fails for names that are resolvable

We have a linux box (called jumper) that is used to access servers in a few separate DMZs. Each DMZ has its own subdomain name (e.g. idmz.example.org, jdmz.example.org), and each subdomain has its own ...
4
votes
1answer
183 views

Allow SSH only on one of a servers IP addresses

I have a server with several IP addresses that hosts sites on each IP address. I have one ip address that does not have a site associated with it. I want to allow SSH login only to the one IP address ...
4
votes
1answer
865 views

Shared Cygwin Install

I'm attempting to set up OpenSSH on a bunch of Windows Server 2003 machines in an automated fashion. My goal is to be able to do so using a single version of Cygwin installed on a network drive ...
4
votes
3answers
2k views

set up a chrooted SFTP login with OpenSSH

How might I create an SFTP login for an untrusted user in which he can only access the files in his own home directory and not run any commands? The online tutorial OpenSSH SFTP chroot() with ...
3
votes
2answers
705 views

How to limit reverse SSH tunelling ports?

We have a public server which accepts SSH connections from multiple clients behind firewalls. Each of these clients create a Reverse SSH tunnel by using the ssh -R command from their web servers at ...
3
votes
1answer
1k views

10 second SSH delay prior to successful login [duplicate]

Possible Duplicate: ssh delay when connecting I have a Scientific Linux virtual guest running out of Virtualbox 4.0.4 on an Ubuntu 11.04 machine. When I SSH from the host to the guest, ...
3
votes
3answers
14k views

ssh client problem: Connection reset by peer [closed]

I'm having a really annoying problem on my Ubuntu laptop. I noticed it today, after upgrading to Ubuntu 11.04, although I'm not entirely sure this is the cause as I played with my ssh keys a few days ...
3
votes
5answers
2k views

Limiting Failed SSH Logins

I would like to limit failure retries on my Fedora machine to 5. I think I can accomplish it with PAM. But was unable to to do this. I have referred to this article to do this ...
2
votes
3answers
841 views

Why is SSHD hanging at “Server accepts key”

I've been ssh'ing to this box without problem for a year using public-key authentication. No changes have been made to the client or server's ssh config. Now, ssh connections never complete or fail, ...
2
votes
1answer
3k views

sshd warning, “POSSIBLE BREAK-IN ATTEMPT!” for failed reverse DNS

Whenever I SSH somewhere I get something like this in the logs: sshd[16734]: reverse mapping checking getaddrinfo for 1.2.3.4.crummyisp.net [1.2.3.4] failed - POSSIBLE BREAK-IN ATTEMPT! And it ...
2
votes
2answers
1k views

rsync via multiple ssh connections with a key

I need to do a rsync from a target server with a server in the middle and I have the same public key on both the target and middle server. I want to use that key so I don't have to do password ...
1
vote
1answer
1k views

how to connect to mongodb server via ssh tunnel

It was easy for me to connect to my remote mysql server on AWS using a sequelpro, however I'm struggling with doing the same thing with mongodb. I tried setting up an ssh tunnel via command line ...
1
vote
4answers
250 views

Reimport ssh certificate after every reboot for GIT PUSH over ssh to work

I am using OSX 10.8 on my macbook air, i have git configured to push my repository to an EC2 instance via ssh. Everything works fine with that. The only issue is that after every reboot, I have to ...
1
vote
2answers
157 views

How to create a new user and exempt the user of key authentication?

1 I have configured Ubuntu server with Key authentication & it is working fine. I have disabled password authentication for key authentication to work. Server is always accessed via remote ...
1
vote
2answers
2k views

SSH connection problem - allowed from LAN but not WAN

I tried to setup my Arch Linux installation to be an SSH host, but here is the thing: I can ssh localhost, it fails to login via public key and asks for username and password, but still able to ...
1
vote
5answers
2k views

Can't login using ssh as root

I am trying to virtualize an old linux server, and the PtoV software requires a password login as root via ssh. However, the root login is being prevented with a "Permission Denied" error on the ...
1
vote
4answers
459 views

What's the benefit of using asymmetric keys over passwords?

Is there a benefit to using keys over regular passwords when it comes to logging into a remote server over SSH? (Besides not having to remember/input that password)
1
vote
2answers
182 views

Adding new users

I have an FTP server that is running Fedora Core release 6 (Zod) the problem is I need to create new users and I have root access saved in WinSCP, so I can run useradd or adduser via the fake ...
1
vote
1answer
2k views

SSH access from outside to a pc inside network

I have a static IP and ADSL router linked to a linksys wireless router to which all my machines are connected. I would want to setup SVN on one of machines and provide SSH access which should be ...
1
vote
3answers
2k views

SSH if command output is more than about 5 lines

I've been advised to ask this question here: I'm baffled by the following issue I'm currently experiencing. I have a Debian 5.0 Linux server connected via an ethernet cable to my DSL router. My laptop ...
0
votes
0answers
78 views

ssh reverse tunnel port forwarding connection fails

Updated: diagram http://s22.postimg.org/b2jfgawup/diagram_ssh_tunnel_a1.png I am able to do a reverse port forwarding through the PUTTY GUI with settings similar to below. once I apply this setting, ...
0
votes
1answer
5k views

“Protocol mismatch” when trying to access tunneled HTTP port

I'm using Mac 10.7.4 and I have an HTTP service running on port 8082 of a remote server, which I can only access through an intermediate server. So I execute these tunnel commands ssh -L ...
0
votes
3answers
687 views

How do I block an email sender using SSH

Having a bit of a nightmare with our Linux server. Somehack is using our server for spaming. I sanitaized all inputs, have captcha image, change passwords, etc. but still. Somehow they keep on doing ...
0
votes
1answer
299 views

EC2 Instance Store to EBS Can't connect to SSH

I followed every line on this tutorial: http://webkist.wordpress.com/2010/03/16/creating-an-amazon-ec2-ebs-ami-from-a-running-instance/ to create a EBS instance using a AMI based on a Instance Store ...
0
votes
0answers
650 views

changing ssh port. Useful?

i will buy a dedicated server soon. I would like to know if changing the default port of ssh may be useful for security or it's completly useless. And if it's useful which ports range should I change ...
0
votes
2answers
11k views

SSH configuration, publickeys, Permission denied (publickey,password). error

My task: login from Mac OS Snow Leopard client to Ubuntu 10.10 server without password. Commands: client$ mkdir ~/.ssh client$ chmod 700 ~/.ssh client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa Enter ...
0
votes
2answers
988 views

SSH and port forward socks proxy

I would like to setup an ssh tunnel that includes 3 machines. One machine I want to make http requests from but can only connect to a central server and outbound port 80 requests. The server is a ...
-1
votes
2answers
253 views

how to ssh to the machine behind the firewall? [duplicate]

Possible Duplicate: SSH to a computer that will then SSH to another computer I have 3 Linux machines A, B and C. I can ssh from A to B; B to C but not from A to C directly because C is ...
148
votes
14answers
168k views

How do I tell Git for Windows where to find my private RSA key?

My GIT setup runs fine in Linux, but when I try to set things up under Windows (using Git for Windows and TortoiseGit), I don't know where to put my private ssh key (or, better still, how to tell ssh ...
50
votes
3answers
39k views

how to disable SSH login with password for some users?

On Linux (Debian Squeeze) I would like to disable SSH login using password to some users (selected group or all users except root). But I do not want to disable login using certificate for them. ...
34
votes
9answers
8k views

Why is SSH password authentication a security risk?

Most guides for OpenSSH configuration advise to disable password authentication in favor of key-based authentication. But in my opinion password authentication has a significant advantage: an ability ...
85
votes
1answer
19k views

Create a public SSH key from the private key?

Let's suppose I have a SSH key, but I've deleted the public key part. I have the private key part. Is there some way I can regenerate the public key part?
19
votes
8answers
55k views

“Add correct host key in known_hosts” / multiple ssh host keys per hostname?

Trying to ssh into a computer I control, I'm getting the familiar message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ ...
25
votes
8answers
13k views

Allow SCP but not actual login using SSH

Is there any way to configure a user on a Linux box (Centos 5.2 in this case) so that they can use scp to retrieve files, but can't actually login to the server using SSH?
18
votes
4answers
4k views

How do I sudo over sshfs?

On my local host alpha I have a directory foo that is mapped via sshfs to host bravo as follows: $ sshfs charlie@bravo:/home/charlie ~/foo However, on host bravo there is another user, delta, that ...
22
votes
4answers
7k views

How do I make ssh fail rather than prompt for a password if the public-key authentication fails?

I've got a script that ssh'es several servers using public key authentication. One of the servers has stopped letting the script log in due to a configuration issue, which means that the script gets ...
32
votes
5answers
25k views

“POSSIBLE BREAK-IN ATTEMPT!” in /var/log/secure — what does this mean?

I've got a CentOS 5.x box running on a VPS platform. My VPS host misinterpreted a support inquiry I had about connectivity and effectively flushed some iptables rules. This resulted in ssh listening ...
18
votes
2answers
16k views

public key authentication fails ONLY when sshd is daemon

(This question had been erroneously asked in stack overflow -- I'm sorry for that -- and closed as "off topic") I have no clue on how this happens. The distro is Scientific Linux 6.1 and everything ...
33
votes
1answer
18k views

SSH use only my password, Ignore my ssh key, don't prompt me for a passphrase

This is a question regarding the OpenSSH client on Linux, MacOSX and FreeBSD. Normally, I log into systems using my SSH key. Occasionally, I want my SSH client to ignore my SSH key and use a ...
21
votes
1answer
9k views

ssh hostname returns “Bad owner or permissions on ~/.ssh/config”

When I try to ssh to another box, I get this strange error $ ssh hostname Bad owner or permissions on ~/.ssh/config But I made sure that I own and have rw permissions on the file: ls -la ~/.ssh/ ...
26
votes
7answers
4k views

SSH: Two Factor Authentication

I currently have a Ubuntu Server 12.04 running OpenSSH along with Samba and a few other services. At the current time I have public key authentication set up, and I'm wondering if it's possible to set ...