Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

1
vote
5answers
2k views

OpenSSH upgrade breaks scp

I recently upgraded one servers (running RHEL AS 5) from OpenSSH 4 server to OpenSSH 5.2 server. Since the upgrade a customer is unable to scp files from the machine anymore. They use an ssh client ...
1
vote
4answers
1k views

How can I prevent denyhosts from adding the same host to the denied file over and over

I am using denyhosts on my FreeBSD (6.2) box, and everything appears to be working fine, except denyhosts keeps adding the same 4 hosts to my denied file over and over. eli18.internetdsl.tpnet.pl ...
33
votes
4answers
47k views

How to change sshd port on Mac OS X?

I want to change which port sshd uses on a Mac server. For example, let's say from port 22 to port 32. Editing /etc/sshd_config does not seem to work. Does anyone know how to change it? I'd prefer ...
4
votes
4answers
5k views

How to enable Shell Acess over HTTP/Web Browser?

I wish to grant Shell access over HTTP (using a web browser) to a few of my users. Is there a utility, preferably free, which I may use to enable it. The no. of users are approx. 100 and I want ...
5
votes
15answers
5k views

Best way to mount a Linux filesystem on Windows over the Internet?

I was going to attempt Samba over SSH, any better ideas? Edit: My mom has been bugging me to do some offsite backing up of her files. She currently uses Norton Ghost. I have a VPS that I use for ...
21
votes
8answers
17k views

What is a good modern parallel SSH tool? [duplicate]

I have heard that pssh and clusterssh are two popular ones, but I thought I would open it to discussion here and see what the community's experiences with these tools were? What are the gotchas? Any ...
62
votes
15answers
10k views

Hundreds of failed ssh logins

Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be ...
2
votes
1answer
79 views

checking on remote applications

I want to run and check on apps (like rtorrent) running on server via ssh. I'd prefer not to use background/foreground stuff. What I really want to do is have a screen session on this server all the ...
2
votes
7answers
4k views

How do I use PuTTY to connect to a local server in a DHCP network without specifying the IP?

I don't want to specify an IP address, since it can change in a DHCP LAN. I tried to connect to the linux server's name, but neither Putty nor Windows' ping.exe could resolve it.
9
votes
4answers
5k views

When would ssh -t not be appropriate instead of ssh?

Using ssh -t instead of ssh for connections to remote servers has several advantages. For example, I can directly edit a file with vim: ssh -t host vim foo.txt, which would fail otherwise. Are there ...
3
votes
5answers
1k views

disable SSH authentication on same domain, if the same user

I want to use SSH between two computers on the same domain with the same user, and I don't want to type the password. here's an example: [user@pc1 ~]$ ssh pc2 if pc1 and pc2 are on the same domain, ...
8
votes
3answers
2k views

Is SSH logging capabilities equivalent to su logging for private/public key authentication?

Here at work, we have a non-root shared login account on UNIX that is used to admin a particular application. The policy is to not allow direct logins to the shared account; you must login as yourself ...
2
votes
4answers
302 views

ssh cancelling session at the password prompt

If I'm connecting to an ssh server and I noticed I made a mistake in the username, how do I cancel the session when the server is prompting me for password? The only way I know is to press ctrl-c to ...
2
votes
7answers
2k views

How to secure SFTP wihtout re-compiling OpenSSH?

I imagine many of you have production environments and the option for recompiling a software package like OpenSSH, that is widely use is not an option, at least all the time. The solution in Securing ...
34
votes
5answers
8k views

Best system for managing ssh keys? [closed]

I've got several client computers (i.e. laptops, desktops, etc.), and I connect to several server machines that I manage, and I log into them all via SSH. I can imagine several schemes of managing ...
17
votes
7answers
15k views

Monitor an incoming SSH session in real time

Is there any linux software to monitor an incoming ssh session. At a previous job I was told that if you ever needed support from Red Hat for example you could have them SSH into your machine and you ...
12
votes
6answers
16k views

When IP aliasing how does the OS determine which IP address will be used as source for outbound TCP/IP connections?

I have a server running Ubuntu Server with four IP addresses aliased on a single NIC. eth0 192.168.1.100 eth0:0 192.168.1.101 eth0:1 192.168.1.102 eth0:2 192.168.1.103 (Using ...
4
votes
3answers
7k views

How can I enable X11 forwarding to a Debian server box?

I want to connect to a server with SSH (a Debian installation in a VMware image). On that server I want to call gitk a repository viewer for git. What do I need to do to make this work?
6
votes
3answers
3k views

How do I create a user with read only access over SSH to a limited subtree of folders?

I have a Debian server, and I want to give several users read only access to a subtree of folders on that server. Is there a way to do this without manually changing the rights of all files and ...
10
votes
3answers
9k views

How to perform a secure rsync between servers across an unsecured network

Basically what I'm asking is, has anyone come across a means by which to wrap rsync inside ssh. With OpenSSH v4.9+ sftp has some nice options that allow you to chroot the incoming connection and such ...
5
votes
1answer
10k views

How do I setup a TCP over DNS tunnel on Windows?

I've seen a few guides out there, but I could not get any of them to work. I can point NS records to my domain, so it sounds like I should be able to do this. I tried setting up a DMZ for the server ...
3
votes
4answers
385 views

How can you have encryted SSH keys for active usage?

I use SSH keys without passphrase with private/public keys. I read O'reilly's SSH book that you can have encrypted SSH keys without passphrase by SSH agent, Host based authentication, or Kerberos ...
8
votes
5answers
2k views

SVN+SSH Security

I use snv+ssh with key based authentication. Right now in order for any of my svn users to access the repository through Subversion, I must set the repo files to be readable and writable on the ...
2
votes
3answers
13k views

How can you change the default location of the .ssh folder

My Uni's all ssh keys were stolen. The Sys admins decided to remove all .ssh folders and move the files to a folder which name I cannot say. I am interested how the sysadmins changed the default ...
0
votes
2answers
3k views

DES warning message when connecting to Cisco ASA via SSH

I had to replace a Cisco ASA 5510 that died. I have everything back up and running however when I connect to the ASA via SSH (through Putty), I receive the following warning message: "The first ...
4
votes
4answers
2k views

root locked out of EC2

I was in the process of disabling root logins on an AWS EC2 instance. Right after setting PermitRootLogin no and restarting sshd, I closed the terminal on accident -- before setting up users with sudo ...
0
votes
1answer
827 views

Run commands in open X session

I'm very sorry, I'm not currently aware of the correct terminology of what I'm trying to do, otherwise Google probably would have fixed this for me: Essentially, I am SSH'd into a SUSE Linux box and ...
9
votes
5answers
36k views

SSH / SCP Server on Windows [duplicate]

Possible Duplicate: What is a good SSH server to use on Windows? Can anyone on the SF community recommend a trustworthy/easy to set up SCP server for windows. I do not want to go through ...
3
votes
1answer
2k views

Using ssh and corkscrew/proxychains behing a HTTP proxy

The Ubuntu box I am looking at is behind a proxy which supports CONNECT to 80/443 ports. I have set up an outside ssh server on port 443 and can connect to it with corkscrew / ssh without any problems ...
4
votes
5answers
829 views

ssh keys + RHEL5

I've been able to set up SSH authentication keys on my ubuntu, fedora core and mac systems, however, I'm not able to get SSH keys to work properly with redhat enterprise linux 5 (RHEL5). I've tried ...
1
vote
3answers
351 views

OSX terminal running a command in a single window

I use my OS X machine to administer a couple of servers and like to keep open terminal.app to do this. I have my profile so i get a few tabs open as i open the terminal.app, is it possible to assign ...
1
vote
2answers
215 views

Running applications remotely

Is it possible to use ssh to start applications remotely? I have a linux machine for a mediacenter and I want to be able to connect through ssh and start for example XBMC or Boxee on it and then use ...
1
vote
3answers
377 views

How do I fix scp file transfers between cloned Linux machines?

In order to get an identical setup between machines with identical hardware, I cloned the drive from one onto the other, then did the ip and hostname configuration to differentiate the two Linux ...
8
votes
8answers
4k views

Remote access to a Linux machine behind a firewall

I'm going to be deploying an Linux machine as a sort of public terminal at a remote location. I'd like to be able to access it remotely via SSH for maintenance but I don't want to keep a port open on ...
8
votes
1answer
13k views

SSH access to Apple Time Capsule

Is there any way to install or activate sshd in an Apple Time Capsule in the way you can download dd-wrt and install custom firmware on a netgear router? I'd like to enable sshfs access to Time ...
0
votes
3answers
3k views

Unable to connect to a remote MacBook by SSH

I know Apple's article about SSH. I know the video about how to log in to Mac by SSH. I have the following settings in MacBookA I am trying to connect to it by the command in the picture in ...
3
votes
3answers
2k views

PuTTY automatically supply password

I have a situation where I need to have PuTTY (or another SSH client for Windows) automatically log into another machine via SSH. I realize that this isn't a good idea security-wise, but unfortunately ...
12
votes
5answers
9k views

SSHFS mount that survives disconnect

I'm using SSHFS mounts from my laptop to a central server. Obviously, the SSHFS mount is broken after a longer disconnect (eg. during suspend), cause the underlying SSH connection timed out. Is ...
1
vote
1answer
1k views

mutt and ssh tunneling

I want to be able to send email through an ssh tunnel using mutt. I can ssh into the smtp server, but I don't know how to tell mutt how to do this... Can someone help me out? Thanks
2
votes
5answers
491 views

Are RSA keys needed for LAN only setups?

I have an SSH installed on my Ubuntu server. I can log into it from my Ubuntu desktop, using a user and a password. I can only access SSH from my LAN, since the SSH port is not forwarded on my router. ...
7
votes
2answers
7k views

Can't get rsync to work in daemon-over-ssh mode

I'm trying to set up rsync to copy the data from a server every day. In order to make the system as restricted as possible, I'm trying to use the mode described in the man page as: "USING RSYNC-DAEMON ...
21
votes
5answers
56k views

How to remove strict RSA key checking in SSH and what's the problem here?

I have a Linux server that whenever I connect it shows me the message that changed the SSH host key: $ ssh root@host1 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: ...
3
votes
2answers
1k views

Linux RDC/VNC/SSH Client

I use loads of machines daily, each uses different connection methods, either remote desktop, vnc or ssh. My desktop is Linux, it would be nice if I had a tabbed interface for them all so I don't ...
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 ...
39
votes
15answers
5k views

Preventing brute force attacks against ssh?

What tool or technique do you use to prevent brute force attacks against your ssh port. I noticed in my Security logs, that I have millions of attempts to login as various users through ssh. This is ...
5
votes
5answers
2k views

Remote login to mac

I have a Mac Mini that I would like to login remotely from a Windows XP laptop. Is this possible? What types of things do I need to do to allow remote connections from the Mac, and what type of ...
3
votes
3answers
1k views

Error connecting to server through ssh [duplicate]

I just got this error while trying to connect to a computer through ssh. I had set up the connection to allow me to connect using just my self-signed certificate, but now I am unable to connect. This ...
0
votes
1answer
1k views

sshd_config GatewayPorts

Is there any reason why I shouldn't set GatewayPorts yes in my sshd_config file if the hosts are only going to be internal to the network?
27
votes
8answers
6k views

How do you setup ssh to authenticate using keys instead of a username / password?

How do you setup ssh to authenticate a user using keys instead of a username / password?
10
votes
5answers
2k views

Install Linux over ssh

I'm a totally blind individual so can't install Linux with the normal install process. SSH does work for me how ever, is it possible to use an ssh connection to remotely install a Linux server? ...