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

learn more… | top users | synonyms (1)

4
votes
2answers
3k views

how to umount /home in ssh?

I would like ssh, sudo su and umount /home and run diagnostic on it. Is there a runlevel I can used to close X and other process using /home while keeping network access? Or another way? thanks
4
votes
1answer
557 views

Why do I get a 'Connection closed' error when trying to branch a Launchpad branch?

When I try to branch any Launchpad branch I keep getting the following error: ssh_exchange_identification: Connection closed by remote host bzr: ERROR: Connection closed: Unexpected end of message. ...
3
votes
1answer
668 views

How to stop umount all when I exit ssh session? [closed]

So when i'm logged into Lucid via ssh, and type exit to end the session, umount -a is run first by the system. I see the follow message before it logs me out: umount: /home: device is busy. (In ...
34
votes
6answers
23k views

How to use SSH (ssh & rsync commands)?

How can I SSH with a remote server so I can browse files and edit them. I have a username and password to use.
4
votes
1answer
4k views

Launch application via ssh

I am new to SSH. So now I can connect to a remote computer. I also can launch an application on a remote computer and see it's GUI on my screen. But I do not know how to launch an application without ...
1
vote
1answer
2k views

How do I add a dyndns alias to my Iptables?

First of all: I'm aware of this old question: iptables allow dyndns domain name and auto update rules But somehow it doesn't help me. The Problem Iptables on my work pc are configured to drop all ...
2
votes
1answer
848 views

Can I launch Tomboy Notes over ssh

I have a few machines running Ubuntu and often I need to run an application from one machine on another. So I use ssh to do this as I already have it set up and it is simple to do. For example ssh ...
0
votes
1answer
207 views

SSH Daemon readiness problem

I have an old laptop running as a server (It runs Ubuntu Natty). When I SSH into the box, it often takes a long time to log on, if it's been a while since last time I logged on. I suspect the reason ...
1
vote
1answer
1k views

Check If Users are Logged In, Check Condition, Shutdown Automatically at Set Time

First the situation: I have a server that I want to shutdown automatically at night (00:00), but I need to make sure no one is logged via ssh in still. If they are, then I will allow up to another ...
5
votes
2answers
13k views

How do I SSH and remove all previous SSH activity history?

I want to remove any and all activity logs for SSH remotely. How do I get to it? My account on the remote server doesn't have admin privilege, and as such I just want to remove user to user ...
2
votes
1answer
482 views

Prevent suspend if logged in via ssh to another machine

Previously I have found that Ubuntu would not suspend if an SSH session was open, but on a new laptop install of Ubuntu 11.04 I find that the laptop will go into suspend according to it's normal ...
4
votes
2answers
1k views

How can I get Places > Connect to server… to default to SSH rather then FTP

I often use Places > Connect to server... and always connect with SSH. The Connect to Server dialog box always selects Service type as Public FTP by default. Is there a way to change this so Service ...
4
votes
1answer
813 views

w showing wrong number of users logged in

Can anyone explain me why w shows me a wrong number of users currently logged in? root@host ~ # w 20:14:54 up 17:13, 3 users, load average: 0.00, 0.01, 0.05 USER TTY FROM ...
0
votes
1answer
249 views

How to prevent svnserve from overwriting SVN repository permissions?

Some coworkers and I are accessing SVN repositories through SSH. In order to make the repositories readable and writable to all of our accounts, we have created a group called "developers" and made ...
2
votes
2answers
2k views

How do I mount a drive so that it is readable by me?

I'm working with over SSH with an external hard drive connected by USB. I know I can manually mount a drive with the following command: sudo mount /dev/sdc ~/dirToMountTo The problem is, if I ...
3
votes
2answers
2k views

What's the command for ssh to find files which *.png and download them

I was connected my OpenSSH, but What's the command for ssh to find all files which are *.png and get them at the same time, recursively
0
votes
1answer
403 views

wifi networking freezes then unfreezes

I have a Mac Mini (OS X Lion) and a Thinkpad running Ubuntu 11.04. When I log into the same server from both computer via ssh, the connection the Thinkpad is extremely slow compared to the ssh ...
1
vote
1answer
10k views

How to set up ssh connection (acessible over internet, not LAN) using MTS MBLaze modem?

I have a MTS MBlaze USB dongle, with which I can connect to the internet. The question is, how do I set up a ssh connection accessible over the internet so that any one can connect to my PC through ...
4
votes
1answer
2k views

setting up ufw for a website, I want to to disallow everything except ssh, e-mail, and http

I have read the basic instructions here: https://help.ubuntu.com/community/UFW I want to sudo ufw default deny and then sudo ufw allow ssh sudo ufw allow smtp sudo ufw allow www sudo ufw allow ...
20
votes
5answers
91k views

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the ...
3
votes
1answer
4k views

In AWS Ubuntu AMI server refused our key while SSH login

I just have created a large-instance for ubuntu-AMI on Amazon ec2. generated a key pair & ssh open in firewall. now using puttygen i got ppk file since i am using window machine. now using publuc ...
2
votes
2answers
764 views

SSL not working on eth0

All secure connections like https, ssh are not working when I connect through eth0. However they work perfectly fine when connected through wireless. Is this some issue with certificates in the ...
7
votes
3answers
85k views

SSH Connection Error: No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
93
votes
1answer
85k views

How do I retrieve the public key from a SSH private key?

A SSH private key as generated by ssh-keygen contains a public key part. How do I retrieve this public key from the private key? I've lost my public key and need to put the contents of this public key ...
2
votes
1answer
738 views

What are ssh keys and how to handle them?

I've been in the Linux world quite a while now (little more than 10 years), but there are several concepts that I still can't grasp. One of them is ssh... I know the basics about it (creation, backup, ...
4
votes
2answers
6k views

SSH problem after update

Setting up openssh-server (1:5.3p1-3ubuntu7) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... start: Job failed to start Can't initialize ssh, ...
9
votes
1answer
2k views

How to remotely control Banshee via SSH?

Banshee has the ability to control its main window from the command line using commands like $ banshee --next However when running these commands over ssh as the same user it simply tries to launch ...
11
votes
3answers
11k views

How do I kill a locked SSH session? [duplicate]

From time to time, SSH sessions to my servers just freeze up and then neither Ctrl+C nor Ctrl+\ do anything. How do I quit the session without just closing the Terminal it's in? Clarification: ...
0
votes
1answer
85 views

How can I connect to my machine which is connected to internet via dsl?

I've configured my machine with dyndns.com so that I can use the ssh and vnc but the problem is, the machine is connected to internet via dsl,. so it uses a network ip address ex (192.168.1.xxx) ...
4
votes
2answers
1k views

How do I approve specific computers to ssh into a machine with password authentication disabled?

The instructions in help.ubuntu.com/community/SSH/OpenSSH/Configuring recommend disabling password authentication so that "it will only be possible to connect from computers you have specifically ...
52
votes
3answers
108k views

How do I configure a new Ubuntu installation to accept ssh connections?

I just installed Ubuntu 11.04 (in a VM). How do I set it up to allow me to ssh into it? (Right now I get "ssh: connect to host x.x.x.x port 22: Operation timed out".)
11
votes
1answer
1k views

disable shutdown/suspend if there is other user logged in via ssh

I remember that in versions of ubuntu around 9.04 was possible to disable user to shutdown ( and maybe suspend too ) system if there was other user logged in.Something like policykit or similar. Is ...
4
votes
2answers
301 views

My computer stops seeing the other computers on my network

I'm running Ubuntu 11.04. Sometimes my computer stops seeing the names of the other computers on my network. So I can no longer log into another computer by typing the hosting name e.g. ssh ...
8
votes
2answers
4k views

Do commands continue running after I close my ssh session?

For example, I ssh into a server and run a command say ... wget, then I close the terminial window. Do my download continue? Or does it depend on the app? If so how do I know?
1
vote
1answer
1k views

running two firefox instances — one locally and another through ssh

I would like to have two firefox instances running at the same time in my laptop, one locally and another opening an instance through an ssh connection to another computer. If I just try to open the ...
6
votes
1answer
7k views

how to set up a ubuntu server to be (securely) available from internet?

(apologize in advance, I'm a pro-windows newly converted to ubuntu... if my questions are obvious, please tell me). I want to build a ubuntu server continuously connected to the internet. I own only ...
7
votes
3answers
5k views

Is there a secure web-shell for my server?

Following the security principle of trust no one, I can't use a service like http://www.serfish.com/. Is there a free software program that I can install on my Ubuntu server to give me secure shell ...
3
votes
2answers
2k views

Trust SSH server based on key instead of if key+IP match

Is it possible to make the ssh client not care what IP a ssh server is behind (and if a different server was behind that IP earlier) but instead trust specific server keys? (And maybe nickname those ...
41
votes
2answers
46k views

How to create a restricted SSH user for port forwarding?

ændrük suggested a reverse connection for getting an easy SSH connection with someone else (for remote help). For that to work, an additional user is needed to accept the connection. This user needs ...
11
votes
4answers
2k views

How can I help someone (like granny) over SSH who is behind a NAT router?

For helping others quickly, SSH is very useful, especially combined with GNU Screen. It's common that users are behind a NAT router. Even if the user can configure the router, it takes some time to ...
2
votes
1answer
558 views

Triggering a UI message based on a terminal ssh'd to another server

I am working in a multi-workspace multi-window configuration. I am constantly running scripts behind the scenes. It would save me a lot of time and context switching if I could kick off a script on ...
34
votes
3answers
90k views

How to start a GUI software on a remote Linux PC via SSH

Sometimes I need to start XMBC media player or other GUI software a one of my PC (small Xubuntu PC used as a media center). Usually I do this starting a X11vnc server on the remote PC via SSH and ...
9
votes
2answers
1k views

Sync Music from Banshee via SSH to Android Device

i want to transfer my music to my android device via ssh. I do that wireless because i do not always want to plugin the cable to sync some files. Is there a way banshee can recognize my android device ...
34
votes
4answers
56k views

What is terminal command that can show OpenGL version?

So I want to find out which is my OpenGL version. I have access to Ubuntu via SSH. Which command shall I execute?
93
votes
11answers
110k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
44
votes
5answers
210k views

Adding SSH Keys to Authorized_Keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...
7
votes
1answer
2k views

Why can I not see my USB connected Android device over SSH?

I have a computer running Mythbuntu 11.04, and it has Banshee 2.0 installed on it. I also have an Android phone that I use as a music player. I want to get Banshee and Android talking to each other ...
0
votes
1answer
2k views

How can I stop a terminal connection from timing out

At work I have two machines: Windows XP and Ubuntu 11.04. On my XP machine I use Putty to connect to some servers and can leave those windows open for weekends without them timing out. However, when ...
36
votes
7answers
205k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
4
votes
1answer
279 views

Moving SSH keys from Ubuntu

I have set up SSH keys on my Ubuntu machine (10.04) and now I am moving to Debian. On the Debian machine, do I generate new SSH keys corresponding to my username or is it possible to (and is OK) if ...