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)

13
votes
4answers
5k views

Using PGP keys for SSH

I use a 4096 byte RSA PGP key; since SSH also uses the RSA standard, is it at all possible to use the PGP key as an SSH key without installing additional software on the server (and as little as ...
2
votes
2answers
550 views

Unexplained partial failure of Smoothwall box

I suspect this may be an unanswerable question, with the only solution being to rebuild, but I'll ask anyway. Last night the some internal processes stopped working on the Smoothwall firewall at the ...
1
vote
4answers
12k views

Unable to connect to Linux (Virtual OS-vmware) through Putty on Windows [closed]

I want to access my Linux box (Virtual OS) through Putty on Windows using Run command: putty -ssh -P 22 192.168.171.130,,, but it is returning an error message, not able to connect. But few days ...
0
votes
3answers
791 views

SSH Tunnel from port 80 seems to be geting blocked

I'm not a server admin, but because of some Facebook Connect programming I'm doing, I need a public facing URL on port 80 to forward to my local development environment. So I have a Centos based web ...
5
votes
4answers
6k views

Connect Direct vs. sFTP?

I have a partner who would like us to use a commercial product called Connect Direct where we would normally use ssh based scp or sftp. Besides reading their website, which is of course not quite ...
3
votes
4answers
1k views

Ubuntu Server: Don't see my input in terminal

I have a problem with my Ubuntu server. I start a new remote ssh session (from windows putty or ubuntu client) to my server. After a while (I think it is when I hide the console window), my input is ...
2
votes
3answers
1k views

rsync over ssh - encryption on server

I have the following setup: Windows rsync -> ssh -> rsync Linux Each user has a different ssh key so only the user and the Linux admin can access the user's files on the server. The files are not ...
1
vote
1answer
3k views

Cause of flapping UNKNOWN Nagios status?

We run some Nagios service checks via OpsView, and one of our hosts is getting a strange response for SSH: "UNKNOWN: Service results are stale" It happens regularly, but seems to go away as the ...
5
votes
3answers
2k views

Tunnel an ssh connection through an intermediate machine in a single command

Is there a way, in a single command, to establish a ssh connection from my computer A, through computer B, to computer C, such that I have access to the shell on computer C? A wrinkle (which seems to ...
0
votes
2answers
303 views

Set up Home computer as a Server to Access it at Uni

I have Apache running and GNU Screen at Home. I need to access the comp 100km far away. I want the access only to the files in the folder /var/www. How can I get a remote control of my computer with ...
8
votes
4answers
7k views

Subversion path differences for svn and svn+ssh

[02:48][root@server:~] ps ax | grep svn 23986 ? Ss 0:00 /usr/bin/svnserve -d -r /srv/svn As you see from arguments my svn root dir is /srv/svn. Now, some magic from remote machine... ...
0
votes
1answer
681 views

ssh into remote machine and execute parallel copy operation to network drive

Hi I have a remote machine that has a mounted network drive. I am trying to create a script that ask me for the name of folder I wish to copy, ssh into the remote machine and have it start the copy ...
1
vote
2answers
1k views

Fowarding X output from a server to a workstation

I'm trying to set up the backup service for a server at work. Specifically, we are using the online backup service SpiderOak. It seems like a fantastic program except for one fact: it uses a graphical ...
70
votes
14answers
4k views

What's wrong with always being root?

I have a feeling this is a stupid question, but this is something I've wondered for awhile. I have a VPS and this is my first big linux venture. I am the only person who has access to it. My question ...
1
vote
2answers
2k views

sshd issue (maybe ChallengeResponseAuthentication or 'unknown key type' related)

After adding a new user and his pub key to ~/.ssh/authorized_keys, I couldn't ssh to my slice (Permission denied (publickey)). So I changed (in /etc/ssh/sshd_config) ChallengeResponseAuthentication ...
3
votes
2answers
2k views

iptables question: forwarding port x to an ssh port of different machine on the network

I have a Ubuntu PC, with two networks cards, acting as a router. One card eth0 is connected to internet and other eth1 is connected to LAN. I want to expose ssh ports of different hosts in LAN to ...
2
votes
3answers
3k views

Need some routing assistance with pfSense

I recently (meaning 4 days ago) set up a pfSense firewall/router box. It works amazingly well. I'm having a few problems though: 1) I can't seem to SSH into the box remotely despite enabling SSH. ...
9
votes
4answers
2k views

risk of using ssh public keys

I have server A and server B(backup), and I was wondering, if somebody breaks into server A, could this be potentially dangerous to break into server B if I have configured passwordless login using ...
5
votes
2answers
2k views

Differences between SSH's tunnels and OpenVPN

I discovered that recent OpenSSH has support for tun devices. When it comes to tunnels and VPNs, I always thought the main programme was OpenVPN. Are there any advantages to using SSH tunnels? What ...
2
votes
5answers
1k views

rsync over ssh performance

I am using rsync over ssh to backup data from windows to linux. This creates 1 rsync process on the server for each connection as this is over ssh. Each rsync connections runs at 1 mbps. Do you have ...
8
votes
9answers
7k views

ssh hangs without password prompt — works in root or other accounts

I had ssh key based login working fine. Then, I changed the hostname on my computer, and the key based login stopped working. Seemed to make sense. the keys probably relied on my old hostname. So, I ...
1
vote
2answers
1k views

Two-Way SSH VPN Tunnel and UDP Connection Tracking

I set up a VPN ssh tunnel using between two Linux machines using these instructions. Machine B acts as the server, and A as the client for the following. I can ping from A and get replies from any ...
1
vote
2answers
478 views

Output video on host in VLC

I have a server with VLC installed and a graphics card. I have access to the server in person and can play videos while logged in locally, but I want to able to launch a VLC instance remotely through ...
0
votes
5answers
1k views

How-To Login to your server with an SSH Session?

http://www.wallpaperama.com/forums/how-to-install-zend-optimizer-in-linux-server-t82.html I am trying to install zend optimizer. It's a pain - I've been trying for 3 days!! Login to your server with ...
1
vote
2answers
268 views

Is there a program that uses OSX's Terminal to help manage SSH connection parameters?

My difficulty: I connect to a variety of servers through SSH, sometimes more than 7. Currently I have doing this through OSX's Terminal with shell commands, which works pretty good, except for the ...
19
votes
5answers
8k views

ssh tunneling only access

Is it possible to configure ssh (on linux) to allow access for tunneling only? Ie user can setup tunnels but cannot get a shell/access files?
6
votes
5answers
3k views

SSH - How to include “-t command” in the ~/.ssh/config file

I use ~/.ssh/config file so that I can easily enter ssh myserver and it'll provide the correct username, port, hostname, identity file, etc. However for many servers, the first thing I do is enter su ...
2
votes
2answers
1k views

New to Ubuntu Server, which logs to monitor and what to do [closed]

I have been running Ubuntu Server for about four months and I learn something new everyday. Today I learned that there are many logs that i didnt know existed. When I examined these logs I was blown ...
2
votes
1answer
15k views

Cannot Access SSH - “Did not receive identification string from [IP]” in Logs

I'm having a problem accessing SSH on my Ubuntu server from outside the network. Accessing it using it's local IP address (192.168.1.100) works fine. Accessing from a networked PC but using the ...
7
votes
5answers
4k views

SSH Tunnel as a Windows Service

I want to set up an SSH tunnel to run as a Windows service, I need to be able to set it up using only the command line so this counts out any software that doesn't include a command line version. ...
2
votes
4answers
379 views

SSH setup for the multiple server admin

I´m looking for a good ssh password/key setup for a system administration of multiple servers. The ideal one will be one that can be at the same time comfortable and secure, but after thinking a lot ...
3
votes
11answers
861 views

Ubuntu Server SSH

I have a server with ubuntu. I do work on it over SSH. I had a problem with brute force attempts over port 22. I changed the port and I assumed it fixed the brute force problem. Am I right or are the ...
16
votes
5answers
6k views

Nice rsync on remote machine

When using rsync+ssh to access a remote machine, is there a way to "nice" the rsync process on the remote machine (to lower its priority)? Editing the question to clarify: USER PID %CPU %MEM ...
30
votes
12answers
49k views

Can't get SSH public key authentication to work [closed]

My server is running CentOS 5.3. I'm on a Mac running Leopard. I don't know which is responsible for this: I can log on to my server just fine via password authentication. I've gone through all of ...
1
vote
3answers
896 views

Setting remote environment using ssh?

How can I ssh into a server and set an environment variable for the remote shell session? Ideally I'd like to control the name and value of the variable from the origin host.
0
votes
1answer
1k views

SSH clients (putty/ZOC/xterm) no longer using tab completion not recognizing arrow keys?

All of a sudden, SSH clients to my web server don't recognize tab for file name completion, and rather insert a physical tab. Also, the arrow keys throw up garbage characters in terminals, rather than ...
1
vote
3answers
361 views

Specify Dynamic IP of SSH server on the client side

I am trying to set up a ssh server at home connected to internet via wireless router. Since its IP is dynamic, how do you specify its address on the client side? Thanks!
2
votes
2answers
224 views

set up a SSH server

I set up a SSH server on my Ubuntu on my laptop by OpenSSH. While ssh localhost is okay, I try to first ssh to another computer from, and then from there ssh back to my laptop with its external IP ...
6
votes
2answers
3k views

Use local tools to monitor remote logs

I don't have root access on my hosted web server, but I would like to use tools like MultiTail to monitor log files that are generated on my web host. Is there a way I can pipe the log output on my ...
14
votes
6answers
24k views

How to enable SSH X11 forwarding through additional server?

I have hosts A,B and C. From host A I can access through ssh only B. From B I can access C. I want to be able to run X11 programs on C and forward display to A. I tried this: A$ ssh -X B B$ ssh -X ...
5
votes
6answers
11k views

SSH Tunnel using PuTTY no longer works after server change

EDIT (for clarification) Windows Client Remote Linux Server |----------------------------------| |---------------------| ____________ ____________ ...
4
votes
2answers
2k views

Find out if a SSH private key requires a password?

I've got a whole pile of SSH keys here, public and private. How do I find out which private keys require a password, and which don't?
0
votes
1answer
2k views

Can't connect to my Amazon EC2 over SSH?

I've created an Amazon EC2 AMI from an existing server, ie I'm not using one of amazon's AMIs. I can launch it and I can see on the console output that it's started up, however I can't SSH to it, ...
0
votes
2answers
1k 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 ...
109
votes
1answer
32k 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?
1
vote
2answers
8k views

Is there a way to permanently set the font and window size in putty?

When I log in with putty, I always have to: change settings appearance font change 8 resize window so that I can see enough text to work with the log files. I don't see where I can save these ...
0
votes
8answers
956 views

can't ssh server from another country

I am in holiday in another country and trying to ssh on a server from my home country. I think the ISP here blocked that IP/class for various reasons. Is there a way I can bypass this ? I can ssh on ...
5
votes
12answers
6k views

How can you prevent root password change on linux?

I'm setting up a server which other people will have sudo access to via ssh. They can install stuff and make changes as they see fit, however I still need to manage the server, install patches and ...
0
votes
2answers
173 views

Can't log in to a production server

Background: I've been dealing with some weird issues with my Centos 5 server, it's a dedicated server at a hosting service, so I don't have physical access to it. Problem: Last night I was doing some ...
1
vote
2answers
2k views

How to setup a linux ssh server to authenticate with more than one ssh key?

We are using Amazon EC2 server that by default uses a ssh key to authenticate. We want to give access to another user in the server but we don't want to give out our initial key, so we want to create ...