SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

learn more… | top users | synonyms (1)

0
votes
3answers
2k views

what do i have to do to use NX on a different port than 22 (SSH)

I have installed OpenSSH server on my Ubuntu Linux box (10.04). I can SSH to the box properly, no problem. I have to use port 443/TCP. No problem accessing a shell prompt with PuTTY or other SSH ...
3
votes
4answers
3k views

ssh without opening the ports

I usually provide solutions for my friends for fixing issues on their ubuntu machines. Most of them use shared internet connection over LAN where they cannot open ports for allowing me access their ...
7
votes
2answers
897 views

Nautilus freezes when connecting to SSH server [closed]

I have several nautilus bookmarks pointing to SSH servers, so that I can easily access them. Out of nowhere this doesn't work anymore. When I open a bookmark or enter ssh://user@server in the location ...
13
votes
5answers
47k views

How do I install a ssh private key generated by puttygen?

I set up my linux server to accept connections from my home PC by adding the public key generated by puttygen to the authorized_keys file. Now I'm trying to connect to the same machine, but this time ...
14
votes
1answer
863 views

How should I manage a secure, personal ssh key?

I need to have a personal ssh key such that: I can back up a single file containing my private key, and restore it when I do a new install. The private key is never stored in unencrypted form ...
18
votes
6answers
31k views

What terminal-based network speed tests are available?

I'm looking to find a way to test my internet speed at home through ssh. Does anyone know a terminal app that can give me calculations similar info to speedtest.net? It would also be really cool ...
1
vote
1answer
95 views

Enable external HD after remote reboot

Ran into this one tonight: Was on my laptop, and ssh'd into my desktop to access files on my desktop's external HD. So far, so good. However, after remotely rebooting the desktop, the external HD ...
6
votes
3answers
2k views

make my ssh key expire automatically

I sometimes use ssh to connect to a remote machine. Once I enter the passphrase once, I can use ssh again without the passphrase, but even if I come back a long time later, it still doesn't ask me, ...
8
votes
2answers
2k views

ssh key administration for many users, servers

My company has some remote Ubuntu servers. The access to these servers is controlled by ssh keys. Managing these keys is quite a pain, especially when an employee leaves or joins the company. Is ...
4
votes
4answers
2k views

X Server for Windows?

I'm going to accessing my ubuntu machine remotely from my windows machine through putty. Are there any suggestions for possible ways to get an X server running on my windows machine? Thanks.
12
votes
4answers
5k views

Automatically change Terminal colors on remote connection?

Is there a way to automatically apply a terminal profile when connected to a remote machine via SSH? I'd like more obvious visual cues that I'm connected to a remote machine than the user/host ...
54
votes
8answers
41k views

Download a file over an active SSH session

So I'm SSHed into my Ubuntu server from my Ubuntu desktop. I'm at a certain path and I want to download a file to my local filesystem (preferably the path I was at before I entered the SSH session). ...
8
votes
4answers
3k views

Is there a way to have wall messages show to desktop users?

Let's say I'm away from home, ssh-ing on my home computer. For any reason, I need it rebooted. # shutdown -r +10 This sends a warning message every minute via wall, which is completely invisible ...
1
vote
1answer
822 views

Why does SFTP timeout during a download?

My server keeps timing out when I attempt to download a handful of files at once. I'm running Ubuntu 10.04 LTS sshd_config contains the following tweaks: Subsystem sftp internal-sftp Match group ...
8
votes
3answers
4k views

How to open ssh://username@hostname link

I want to open link like "ssh://username@hostname" with ssh. I think xdg-open can help me(xdg-open ssh://username@hostname), but I don't know how. How can i do it?
15
votes
10answers
6k views

Long wait time on login

When I log in on my server I get this: No mail. Last login: Fri Nov 5 14:22:45 2010... then I must wait for 5 sec and then is ready... wolfy@ubuntu-server:~$ Is this wait time normal or should ...
6
votes
1answer
3k views

How to mount a remote (over SSH) directory to be available like a local directory (incl. in shell, not just in Gnome)?

I've got my files (mostly text/code, nothing of heavy like videos etc.) in a directory on a remote server which I can only access by means of SSH. Can I mount it on my laptop to use it seamlessly from ...
1
vote
2answers
2k views

Reverse X11 forwarding

I was playing with my phone (that runs a Linux/X stack) last night and I managed to ssh into my desktop and run an application and have it show up on my phone. It was awesome. Today I'd like to sort ...
6
votes
3answers
8k views

Run (system) script on SSH login and/or logout

I'd like my OpenSSH server to start a script whenever a user logs in using SSH, ideally passing the host name or IP, as well as the user name. Additionally I'd like it to run a script, whenever a ...
15
votes
4answers
11k views

X11 Forwarding over Gnu Screen, is it possible?

I use GNU Screen constantly. But, I've been trying to figure out if there is someway to get X11 apps to forward over screen when I am ssh-ing (Is that a word?). Currently if I try to run 'gedit' ...
9
votes
7answers
5k views

“Remote host identification has changed” warning when connecting over SSH

I got this message today when trying to log into my server. What should I do? Whats going on? $ ssh 10.10.10.69 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST ...
4
votes
4answers
463 views

I've setup SSH Key login, but want to avoid a passphrase

I've set up a passwordless login to a friend's computer and everything works very well. I've even edited my ~/.ssh/config to add his hostname and my username. So I just type ssh friend and it ...
2
votes
3answers
1k views

Installing git to be used in a multi-user system

I need to install git on a server that will be shared and accessed by multiple users. I assume I will use git+ssh, so each user will have a system account, but how do I go about install git and a ...
5
votes
3answers
295 views

Setting up ssh to a url

I have enabled ssh on one of my computer at home, so I can get to it from my main IP. No I have a domain where I forward it to my ip. Lets say this website is called melikecandycoveredfrogs.com ...
5
votes
2answers
794 views

Why are there two ssh daemons running in top?

I have Ubuntu 10.04.1 , SSH server is running fine, but I wonder, why there are two sshd instead of one? Isn't one multithreades daemon enough? Is this an option?
7
votes
5answers
318 views

Why is openssh-server needed to receive incoming ssh connections?

Why is it needed? can't I just give an address:port and just "connect"?
5
votes
4answers
7k views

How do i transfer files over ssh after sudo?

I have access to a box over ssh and there are some files i'd like to transfer to another machine, but those are only accessible under another account so if i ssh with 1, then sudo 2 i can browse them ...
30
votes
4answers
15k views

What's the risk of upgrading over SSH?

When I run sudo do-release-upgrade over ssh, I get the following message. This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in ...
117
votes
12answers
90k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
2
votes
4answers
2k views

Remote X sessions, how to discover GUI applications?

I've started playing around with remote X sessions and really like it so far as it allows me to use GUI tools to configure my server (sometimes, I just don't feel like editing text files). One thing ...
9
votes
1answer
2k views

Use local button styles during forwarded X11 session over SSH

Is it at all possible to have a forwarded X11 session be styled with something other than the default X button styles? It doesn't even appear to use my server's actual styles seeing as both computers ...
7
votes
2answers
5k views

connecting a SSH tunnel on reboot?

How can i reestablish a Tunnel if my localhost goes down? i have 2 machines, Remotehost and localhost, on my localhost im running autossh to keep the tunnel alive in case of network problems. ...
1
vote
1answer
278 views

DenyHosts SERVER_SYNC option, call for anecdotal reports

I'm securing my ssh server with DenyHosts, and decided to dig into DenyHosts' configuration to make sure things looked good. There's an option called SERVER_SYNC, that makes an xmlrpc call and seems ...
5
votes
2answers
8k views

SSH-Agent can't open a connection to authentication agent?

When I SSH into my firewall server, then attempt to ssh into another machine on the local network from there I get the following error: Could not open a connection to your authentication agent. ...
19
votes
3answers
17k views

Does SSH use any compression?

I am curious, does SSH compress its data before sending/receiving it? If it does not by default, then can it be turned on?
4
votes
1answer
2k views

How to rdiff-backup / rsnapshot / backupninja from LOCAL to REMOTE machine?

I'm a bit confused about doing backups with rsync/rdiff-backup / rsnapshot via SSH. I've been looking at utilities such as backupninja and rsnapshot. These are rsync / rdiff based backup systems, ...
60
votes
6answers
93k views

Easiest way to copy ssh keys to another machine?

I am lazy at home and use password authentication for my home machines. I am ready to move to key based authentication. There are many options on the web on how to do this, including catting then ...
15
votes
4answers
4k views

Is there a GUI utility to mount remote filesystems over SSH?

Is there a GUI utility to mount remote filesystems over SSH (SSHFS)?
5
votes
3answers
6k views

pgadmin3: Unable to initialize gtk, is DISPLAY set properly? [closed]

I'm having some trouble getting pgadmin3 to run on a remote server. I'm logging in to the server using SSH with the -X option. When I first installed pgadmin3, I was able to launch it using the ...
14
votes
4answers
59k views

Start ssh server on boot

I've been doing my google-fu, but I can only find outdated guides or guides pertaining solely to the server variations of Ubuntu. I need to set it up so that ssh server is run on boot, so I can ...
13
votes
6answers
12k views

How can I audit users and access attempts to SSH on my server?

I've had a few security problems with a server of mine, a few SSH users have been setting up fires aka giving problems. I would like to: Track user logins and logouts Track activity of these SSH, ...
21
votes
3answers
33k views

How do I launch a remote firefox window via SSH?

When I SSH to a remote box $ ssh -X remotebox then start firefox on the remote box remotebox$ firefox and I have firefox running on my local machine, a local firefox window will open. no firefox ...
2
votes
5answers
358 views

What's the Bitwise Tunnnlier equivalent for Ubuntu?

I used Tunnlier in windows and it was perfect. After migrating to Linux I, surprisingly, can't find anything that does the following: manage my SSH connections use Terminal and SFTP browser save my ...
0
votes
3answers
2k views

Used recursive chown on the root directory [closed]

Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
1
vote
3answers
282 views

Window decoration of emacs23 window on fluxbox is outside screen

I am starting emacs remotely over an ssh connection. But on the emacs window I cannot find a way to resize or move it. There is no fluxbox title bar visible, and I guess the title bar is above the ...
6
votes
4answers
1k views

byobu and ssh-agent

byobu cannot connect to ssh-agent socket well. actually I can make just one connection via ssh-agent but if I try to establish another ssh connection using the agent, it doesn't work. I've tried ...
1
vote
2answers
740 views

connecting and copying files with scp — ubuntu 10.04

I have a work computer. I have a home computer. I want to be able to share files between with scp, both our computers are behind routers, which assign a local ip. 198.168.0.* As well as knowing their ...
16
votes
5answers
9k views

How to speed up SSH login?

From outside of my house, whenever I login to my Ubuntu server using SSH, it takes about 6 seconds for me to get the prompt for password, however when I login to my web hosting server it takes about 1 ...
45
votes
10answers
30k views

How to harden an SSH server?

What measures can/should I take to make sure that security around my SSH server is absolutely impermeable? This will be community wiki from the start, so lets see what people does to secure their ...
8
votes
2answers
6k views

How to set up an Ubuntu 10.04 machine to accept ssh requests only from within the local network?

I am about to install 10.04 (from bare metal to replace 9.04) and I want to set it up so that I can shh into the machine, but only from other machines on my local network. (I.e., I want to reject all ...