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

learn more… | top users | synonyms (1)

4
votes
1answer
9k views

How to open a remote file (ssh) with my local Emacs?

I use ssh to connect to a remote machine where a file is. Once the connection is established, if I run emacs the_file in the terminal, instead of launching my local Emacs, it opens an editor inside ...
4
votes
2answers
2k views

What is the best way to secure my EC2 server in regards to the SSH?

I have a Amazon ec2 instance, and was curious on if I should change the username (the default is ubuntu) or not? Since you need a public SSH key in order to access the server, I don't think you do, ...
4
votes
2answers
4k views

Cannot establish ssh connection to computer on local network

I've just (re)installed ubuntu 11.10 on my main pc, and the connection times out every time I try to ssh connect to my laptop (over the local network) to retrieve the files I backed up there. The ...
4
votes
1answer
2k views

Resizing partitions on a RAID 0 Array by command line

Oh boy this is a qustion and a half. Simply put when i set up the server it wasn't intended to be used for what it is now, and root (/) has run out of diskspace, while /home has tonnes of the stuff ...
17
votes
3answers
24k views

Where is the SSH Server Fingerprint generated/stored?

I installed openssh-server and created a key with ssh-keygen. I then attempted to test it using local port forwarding by doing ssh -L 8080:www.nytimes.com:80 127.0.0.1. However, the key fingerprint ...
9
votes
1answer
1k views

How to get server MOTD on non-server install

Is there a way to get the fancy MOTD that shows up on an Ubuntu Server install on my Ubuntu Alternate install? Like this: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64) * Documentation: ...
1
vote
2answers
7k views

can ping, but not SSH

So I have NetworkManager, connected to an AP on wlan1. I have wlan0 connected to a AdHoc network. I have Firestarter sharing my inet on the Adhoc. I have my ipod connected to wlan0, IP 10.42.43.101. ...
3
votes
1answer
4k views

“Server refused our key” when logging into Ubuntu on EC2 as a different user

We created an AWS micro instance running Ubuntu 10.04, and we can putty in as the "ubuntu" user using the key pair just fine. Now I've created two new users, but when I try to putty into the instance ...
1
vote
1answer
236 views

ssh within a local network from a large number of systems without password

i read about logging into remote systems using ssh without entering password; and i've established in my system and is working pretty awesome. now the problem occurs when it comes to a local network, ...
8
votes
1answer
2k views

sshfs transform_symlinks is broken

I've been using the same fstab command for a while now: sshfs#user@host.be:/home/user /home/user/vps fuse user,port=22,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks 0 0 And it used to ...
1
vote
2answers
5k views

How to automatically unlock private SSH key?

I have generated an RSA public / private key pair using ssh-keygen. However, I am prompted to enter the password to unlock it the first time it is used each session. How can I automatically have it ...
2
votes
4answers
2k views

How to restore a process after logging out of ssh connection?

Say I'm running a minecraft server on my ubuntu server and I log into this machine from a remote ubuntu machine over ssh. I startup the server running a script I have e.g. minecraft. If I want to log ...
2
votes
1answer
2k views

Configure firewall (Shorewall/UFW) to allow traffic for services on an Ubuntu Server

I have an Ubuntu Server 11.04 x64 which I want to secure. The server will be open to Internet and I want to be able to SSH/SFTP into the machine and the SSH-server runs on a custom set port. I also ...
1
vote
1answer
467 views

Public key authentication unsupported by web host. Method to avoid entering password?

Unfortunately, my web hosting plan does not allow public key authentication. Apparently, this method is available to VPS and dedicated server customers only. I've backed up my Ubuntu 11.10 machine ...
5
votes
2answers
5k views

Disable interactive SSH at user-level

I connect to a server I don't control via SSH. I use public key access and don't need to be able to connect with a keyboard-interactive password. I would like to disable keyboard-interactive access ...
1
vote
1answer
486 views

Why can I not keep instances of Firefox from two different machines separate anymore?

Sorry this is a little long. It's one of those issues that's a little tricky to describe. I have two computers connected on a LAN. One is running Mythbuntu 11.10, and one is running Ubuntu 11.10 with ...
0
votes
1answer
653 views

Accessing Xubuntu GUI remotely on linode

I'm ssh'd as root into my linode server and have installed Xubuntu (for Ubuntu 10.04). Now I'd like to use it, but issuing starts brings about the fatal error no screens found. I've installed and run ...
0
votes
1answer
443 views

SSH ControlMaster Tunneling - WORKS (11) BROKEN (10 LTS)

My primary workstation runs the latest 11 workstation and my coworkers primary workstation runs the latest 10 LTS workstation. He said that ssh tunneling is not working with ControlMaster (CM) and ...
14
votes
5answers
18k views

How to run an SSH server without a static IP address

I have a powerful computer in the lab and I installed Ubuntu 11.10 64-bit on it. I want to install an SSH server on it, so I can reach it from home and even from my Android via ssh. But I haven't got ...
3
votes
1answer
88 views

Is there a taskbar applet to show the status of a remote host? [closed]

At the end of the day I would like to be able to copy files to my home PC just in case I feel inspired to work on them in the evening. But I only want to do this if the PC is on already. (I can remote ...
13
votes
3answers
2k views

'unreachable' home folder

Occasionally, when I log into my Ubuntu server, the prompt says jon@jon-server:(unreachable)/$. Running pwd at this point returns (unreachable)/, however echo $HOME returns /home/jon as expected. If ...
1
vote
1answer
640 views

How is ssh started during init?

How does the ssh daemon start on Ubuntu server? I see /etc/init.d/ssh, but I don't see any sym-links to it from the rc?.d directories. I have a situation I'm trying to troubleshoot where a server ...
6
votes
3answers
1k views

How do I inhibit suspend from the command line?

Is there a way to inhibit suspend/hibernate from the command line. I want to ssh into my home computer and not have it suspend while I'm working on it.
2
votes
1answer
726 views

SSH connection reset by peer after 11.10 update. (Proxy Issue)

My work computer sits behind a proxy (I know thats where the problem lies.) I was running 11.4 and using ssh to establish a socks proxy to my server at home. I can still connect to that server from ...
6
votes
2answers
6k views

Can not connect remotly with X11 and SSH? err: Can't open display, What's wrong?

$ xterm works on the client computer In the client I have : $ echo $DISPLAY :0 in the config file in the server /etc/ssh/sshd_config: X11Forwarding yes X11DisplayOffset 10 trying to connect to ...
2
votes
2answers
810 views

Gnome-terminal doesn't close at end of SSH session

I have defined in gnome-terminal that it closes at end of shell. When I press Control-D or I execute exit, the terminal closes. But if I open the SSH session with gnome-terminal -x ssh server and I ...
1
vote
1answer
726 views

ssh fails to auth by public key (periodically)

After an upgrade of desktop and server (both) to Ubuntu 11.10, periodically the desktop is unable to perform publickey authentication with the server (-v option reveals nothing of evidently use). ...
11
votes
3answers
25k views

How do I connect to a server with thunar in Xubuntu?

In Ubuntu running Gnome 2 you were able to select "Connect to Server" from the Places menu and you would get a graphical connection to whatever server you connected to. Example: How can you do ...
4
votes
3answers
10k views

using gedit through ssh connection - should I have gedit installed on the server?

I wanted to try out using graphical tools over ssh. Just to learn a new thing :) so my understanding is this, I connect like this: ssh -port -x user@server But I'm running ubuntu server so it has no ...
13
votes
7answers
15k views

ssh no longer allows public key authentication

My machine recently stopped accepting incoming public key authentication. I have an ubuntu 11.04 desktop that I ssh into from a windows machine. I use putty with pageant. I am able to connect but ...
2
votes
1answer
614 views

GUI logon into remote system

I'm looking for something similar to RDP for linux. I know VNC, but it doesnot work like RDP - it just sends images of screen, mouse position, keystrokes, etc. RDP just sends info that I've just ...
1
vote
2answers
1k views

ssh crashes after login

unfortunately ssh hangs up after login. Already uninstalled and installed it again. I can fix the issue temporary by erasing ~/.ssh and logoff and login on my system again. Here is my ssh -v dump: ...
8
votes
2answers
3k views

How can one unlock a fully encrypted Ubuntu 11.10 system over SSH at boot?

In previous versions of Ubuntu, and current versions of Debian, you can unlock a fully encrypted system (using dmcrypt and LUKS) at boot time over SSH. It was as easy as: Installing the encrypted ...
3
votes
2answers
419 views

Confirm ssh login and Log file

Is there any way that stop ssh logins without confirmation? When anyone wants to login to my computer, I am prompted by ssh to confirm the login before it is successful. In our university lab, all ...
4
votes
2answers
5k views

ssh refusing all connections after upgrade to 11.10

I upgraded from 11.04 to 11.10 and upon completion found that I could no longer ssh into other computers that I routinely do so. There are several things I've checked: Kerberos authentication is ...
6
votes
2answers
6k views

Can I ssh (into a mobile device) via USB?

I have a tablet with a USB connection to a host computer. (Ideally the host is running Windows, but if absolutely necessary I could switch the host to be Ubuntu also.) I want to be able to SSH into ...
2
votes
2answers
2k views

How to ssh to a running X instance remotely?

I have an X instance running on my server computer, and on occasion I connect to it remotely via TeamViewer. Once in a while TeamViewer crashes and I cannot restart it remotely. Is there a way to ...
5
votes
1answer
734 views

Autoproxy's auto mode doesn't work

I don't if this is the right place to ask this question, so please let me know if I can get better answer elsewhere. I just moved to Ubuntu 11.04 from Windows Vista. I've been using Firefox ...
0
votes
1answer
696 views

GNOME Keyring not remembering auth for autosshfs

I am running Ubuntu 11.10 and using autosshfs, a per user SSHFS automount using user’s SSH config and keys. This works great except that Gnome Keyring isn't remembering the authentication and ...
2
votes
1answer
1k views

Cant Remote Desktop To Server

I am trying to vnc into my server. On my actual server, when I type startx, it boots into gnome. It is at this point that my server will allow me to remote desktop into it. My problem is right now my ...
1
vote
1answer
599 views

Connect remote via putty

How to connect with putty to a ubuntu 11.04 server which is connected to the internet through a router configured with static specifications? I have ssh server installed, and when i try to connect ...
1
vote
1answer
2k views

Can't SSH or FTP into the server with new user accounts?

I have a mediatemple web server configured with Nginx. At first, i created one user account and used that user to log into to the server through SSH... it worked perfectly and still i can use that ...
1
vote
1answer
3k views

avahi daemon constantly needs restarting

I have Ubuntu 11 running on a Thinkpad W520. Things work great, but not avahi-daemon. It seems that my laptop becomes invisible (ssh user@hostname.local can't find the laptop) to other computers on ...
5
votes
3answers
4k views

Can I ssh into my account without invoking .profile?

I want to ssh into my account, but I don't want the current version of my .profile login script to be executed. Is there a way to log in without running .profile? (Disclaimer: I found a work-around ...
4
votes
1answer
228 views

How to access a port on a remote server using SSH?

I have a service running on a certain port at the server. What I want to do is, access the server using SSH and use a local (client-side) program to access the server's port. Is that possible?
2
votes
1answer
632 views

ssh permission denied in terminal but not inNautilus

I have two Ubuntu machines on the same network. I installed openssh-server and client. When I try to connect through the terminal I get the following message: "Permission denied, please try again" . ...
1
vote
1answer
538 views

I can't ssh in from outside my network, but I can from inside

My ssh server is set up on the standard port, and I forwarded the correct port in my router, but I'm still getting a "connection refused" message when trying to connect from the outside. I can connect ...
1
vote
3answers
4k views

Can I create an SSH login script?

I have to log in to my school's Linux server for homework. I would like to be able to make a script or something for my desktop to save a bit of time (using Ubuntu desktop). Currently I log in using ...
4
votes
1answer
351 views

Share first ssh connection to user@host opportunisitically using ControlMaster

I see from the ssh_config man page that you can share connections to host@user using ControlPath and ControlMaster. Is there any way to do this opportunistically for each combination of local user, ...
6
votes
6answers
66k views

ssh -X “Xt error: Can't open display: :0.0”

I'm trying to open xterm on my remote server (Ubuntu Server 10.04) with ssh: ssh -X name@machine xterm but the error returned is: xterm Xt error: Can't open display: :0.0` I googled and tried ...