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

learn more… | top users | synonyms (1)

12
votes
5answers
16k views

Is there an SSH connection manager?

Is there an app (or GnomePanel plugin) that allows to store SSH connection information and open terminal on click? I know that Nautilus does that using Ubuntu's "Password and Encryption keys", but is ...
7
votes
6answers
15k views

SSH server not working (respawns until stopped)

I have a running Ubuntu Server 10.04.1. When I tried to login to the server via ssh, I could not. Instead, I got connection refused error. I tried to ping the machine and I got reply! So, the clear ...
7
votes
2answers
4k views

How can I configure dbus to allow ssh-user to suspend server?

I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit. While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to ...
1
vote
1answer
833 views

How to enable a symlink in this case

I cannot categorize this question under ubuntu since it has nothing to do with it. But I know people here can definitely answer this. I login to one of my deployment boxes using SSH (no ubuntu here). ...
78
votes
6answers
107k views

Is it possible to remove a particular host key from SSH's known_hosts file?

Is it possible to remove a particular host key from SSH's known_hosts file? I usually end up deleting the entire known_hosts file, which I have no problems with doing, but just out of curiosity, is ...
22
votes
6answers
24k views

How do I permanently add an identity for SSH?

I need to run ssh-add <key> everytime I need to ssh into a webserver. Is there a way to add the ID permanently, so I dont have to keep adding the identities on each login? EDIT: The key is a ...
4
votes
2answers
1k views

Is it possible to give sftp access to a user without giving him ssh access?

Is it possible to give sftp access to a user without giving him ssh access?
2
votes
1answer
1k views

wakeonlan from remote host

I have setup wake on lan service on my server. Everything works fine on local area network: root@server$: poweroff user@local$ wakeonlan AA:BB:CC:DD:EE:FF and the server wakes up. ...
6
votes
1answer
1k views

Get root privileges for nautilus on sftp connection

I use "Connect to server" option to sftp to remote computers, as a user which has sudoer privileges. But then, I cannot get root privileges to modify system files. How can I do this? (I know i can ...
6
votes
3answers
722 views

Can I log to a non-default shell?

I love fish. I have a nice Ubuntu 8.04 Server running some services. So I edited the /etc/passwd file, as I did in the past, to change my default shell from bash to fish. And ,yes, I made I typo (BTW: ...
0
votes
0answers
275 views

I can't open program from remote computer, why? [duplicate]

Possible Duplicate: How to open a remote python program from terminal by ssh? When I open a program from my local account using terminal, it works. For example, I type "firefox"...firefox ...
1
vote
6answers
1k views

How to open a remote python program from terminal by ssh?

I type ssh -X name@blah.edu and asks for a password, I type it in and get logged in. name@blah.edu:~$ program.py then nothing happens, when it should actually pop up. Why is this happening and ...
6
votes
1answer
2k views

how to backup/restore the host key in ssh server

I have a ssh server, and some clients have login it via key login. So the host identity of server has been stored in the known_host of clients. I want to reinstall the server, but I hope it never ...
17
votes
2answers
775 views

Accidentally typed password in username input, any logs to clear?

I have accidentally typed my password in SSH's interactive username prompt. Are there any log files that I should clear?
12
votes
6answers
3k views

SSH tunnel logging?

I have a computer running SSH that I would like to give my friends access to, but I do not want them to use my internet connection through SSH tunnelling (although I'd like to do so myself). Is there ...
24
votes
5answers
111k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
18
votes
3answers
17k views

How to get coloured terminal over ssh?

When I connect over ssh to remote hosts everything is just a single font/color. I would like to have colours like I do locally e.g. green for executable and blue for symlinks etc. And such that when I ...
10
votes
1answer
1k views

How to give ssh access to trusted friend?

I've got a friend that I trust enough to give ssh access to one of my servers. To this end, I've created a user account for him. The box is accessible by key authentication only, not passwords. ...
3
votes
2answers
9k views

Remotely run a command on a ssh-server with a script

I want to run a command on a ssh-server, but this command is determined by a script on my local machine. How do I do that? An example for clarity: I want to write a script here (foo.sh) that takes an ...
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 ...
4
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
972 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 ...
16
votes
6answers
59k 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
906 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
34k 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
97 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 ...
7
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
1k 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
1k 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.
14
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 ...
61
votes
8answers
47k 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
845 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
3k 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 ...
8
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 ...
7
votes
3answers
9k 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 ...
16
votes
5answers
12k 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
466 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
297 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
863 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
324 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 ...
32
votes
4answers
17k 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 ...
141
votes
12answers
110k 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
1k 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 ...
11
votes
1answer
1k 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 ...