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

learn more… | top users | synonyms (1)

0
votes
2answers
2k views

Execute commands on remote computer

I run a command from my computer: ssh user@server-name "df -hP | egrep '(/home|/cors)'" the problem is that i get 3 more rows: tput: No value for $TERM and no -T specified tput: No value for $TERM ...
3
votes
3answers
3k views

Launch a GNOME session in a Ubuntu machine I'm SSH'd into?

I'm sshing into my friends machine and I'm wondering how would i launch a GNOME session over SSH? I need to open a web browser on his machine to view something which can only be done from his ...
1
vote
2answers
4k views

SCP not working with a .ppk key

so I need to connect to a remote server. Remote server is running Debian, I am on Ubuntu Lucid -- and a noob in SSH. I need a public key to connect to the remote server. The key has been created as a ...
7
votes
3answers
4k views

How do I import existing SSH keys into Seahorse? [closed]

Is there a way to import existing SSH keys to Seahorse?
13
votes
4answers
2k views

How do you manage SSH keys?

I have a server with multiple users which each have multiple authorized SSH keys. Is there any effective way (command line utility?) to keep track of which key belongs to who and to quickly remove/add ...
9
votes
2answers
7k views

What does “pts/” in the output of w mean?

When I run w - to see who is logged on and what they are doing, i see this: USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user tty7 :0 08:14 10:32m ...
4
votes
4answers
3k views

Unable to connect to remote server via SSH (requires public key)

So i've been given access to ssh a server. I have the username/password, but server apparently requires a public key (now bear in mind that i am a noob in ssh). When I do: ssh -p 52 user@server.com ...
7
votes
2answers
20k views

Remote login with graphical display manager (GDM, LightDM)

Is it possible to remotely (via ssh) make a login to GDM? I'll explain a situation in which I'd need this: I'm on my laptop and connect to my desktop via ssh. I realize there are some updates ...
3
votes
1answer
3k views

Looking for pageant equivalent

I was wonder if there is an equivalent to pageant for Ubuntu, for those of you who are unfamiliar with this tool, its basically a tool that runs and types in your password for public and private keys. ...
5
votes
1answer
6k views

How can I increase the maximum number of simultaneous users to log in to a server?

I use ubuntu server 10.04 on a fairly good machine, with 2.40 dual-core processor and 2GB RAM. My users login with ssh or samba. I have setup LDAP with PAM to sync user accounts between unix and ...
2
votes
4answers
3k views

Retaining bash prompt colors when starting a screen session

When I ssh into a Ubuntu Lucid box the prompt is all pretty, with colors. Everything is the default, as far as I know. Here's my $PS1 outside screen: \[\e]0;\u@\h: ...
0
votes
1answer
962 views

How to test samba/afp configuration remote server?

I am using Ubuntu as desktop and server OS. When I am logged in to the server via SSH on the terminal to change the smb/afp configuration, I can only test the configuration from the server over ...
3
votes
0answers
849 views

How to speed up SSH login using a public key and PuTTY? [duplicate]

Possible Duplicate: Long wait time on login I am using PuTTY to log into my local server, but it takes about 1.5 seconds to log in (from the click on 'Connect' to working command prompt, ...
1
vote
2answers
305 views

Why is ssh-add adding duplicate identity keys?

I have created a private/public SSH key pair using ssh-keygen. I use this to authenticate to remote servers. However, I find that when I log in, ssh-add -l already lists my identity key even though I ...
0
votes
1answer
1k views

Why is my network disconnecting when I use scp or rsync? [closed]

I have a wired network connection from my Ubuntu (10.10) PC (call it PC-A) to a Netgear MR314 router and from there to a Thompson TG585v7 ADSL modem. The only devices connected (by ethernet cable) to ...
8
votes
3answers
3k views

Use real browser instead of w3m on SSH connections

I am using Ubuntu as desktop and server OS. When I am logged in to the server via ssh on terminal and have to view a web-page (localhost) on the server I use w3m (w3m localhost). Unfortunately w3m is ...
12
votes
3answers
19k views

How do I edit the ssh motd?

I would like to add some fields to the ssh MOTD. MOTD today: Linux toker 2.6.31-22-generic-pae #69-Ubuntu SMP Wed Nov 24 09:04:58 UTC 2010 i686 To access official Ubuntu documentation, please ...
1
vote
2answers
703 views

Priority for HTTP over SSH on server

My file server on the internet runs OpenSSH, where users upload and download files using scp or WinSCP. At the same time, the server runs some web applications (http), which need higher priority. Is ...
2
votes
2answers
799 views

SSH Key problem

I want to setup my home server to use ssh keys but when I follow the tutorial on https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html for setting up ssh keys I get this: Bad port 'umask ...
6
votes
3answers
704 views

How come rsync copies files faster than Krusader?

I am trying to copy a .tar.gz file from a remote host. If I mount that host using Krusader and copy it takes a lot of time. However, if I use rsync, it is about 5-6 times faster. How come? Is there a ...
5
votes
2answers
5k views

How to enable SSH server in recovery mode?

How to enable SSH server in Ubuntu 10.10 Desktop Edition recovery mode? My display is not working (broken video card). So how can I do that "blindly"? :)
10
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 ...
6
votes
1answer
5k 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
790 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). ...
73
votes
6answers
96k 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
23k 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
2k 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
2k 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 ...
5
votes
3answers
695 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 ...
5
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
749 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
102k 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
2answers
16k 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
2k 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
3k 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
947 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
54k 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
888 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
33k 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
96 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
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.