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
785 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
228 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 ...
10
votes
5answers
15k views

How do I disable SSH from starting automatically?

After installing openssh-server, the server start every time I boot. If I want it to be manual what do I need to do? In version 0.6.7+ of upstart I would add a "manual" stanza to the job file. 10.04 ...
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
393 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
9k 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 ...
19
votes
5answers
81k 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
745 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
73k 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 ...
79
votes
1answer
64k 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
701 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, ...
3
votes
2answers
5k 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
1k 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 ...
10
votes
3answers
9k 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 ...
40
votes
3answers
86k 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
288 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 ...
6
votes
2answers
3k 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
4k 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 ...
2
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 ...
36
votes
2answers
40k 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
3answers
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
498 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 ...
28
votes
3answers
75k 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 ...
31
votes
4answers
45k 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?
81
votes
11answers
94k 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?
39
votes
5answers
166k 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 ...
31
votes
6answers
171k 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
277 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 ...
1
vote
1answer
248 views

Certificate logins to servers

I have some ubuntu cloud servers running and has the iptable rules applied on them to allow only few ip addresses to connect via ssh. I know how to generate SSH-key for connecting to server ...
14
votes
3answers
17k views

How do I route my internet through a SSH tunnel?

Old Q How do I setup an OpenVPN server without root privileges? Is there a way to setup an OpenVPN server without root privileges? E.g. with configuration files in my home directory? If yes, how do I ...
3
votes
3answers
8k views

Cannot write to Folder mounted with SSHFS

I just created a folder according to SSHFS (Ubuntu Docs) sudo apt-get install sshfs sudo gpasswd -a jm fuse sshfs -o idmap=user jm@example.com:/path/to/folder folder Then I found that the folder is ...
2
votes
2answers
923 views

Git basics, How can I grab files from git?

I am new to git so chances are there is a simple answer. I have a git command for grabbing a site git clone git@devel.foobar.com:foob.com.git Now when I run this I am prompted for a password via ...
1
vote
2answers
5k views

Unable to ssh into a system

We have more than 500 systems running ubuntu. When i access a machine through ssh few machines are not getting logged in, rest of the machines are logging in successfully. I am entering the correct ...
3
votes
5answers
7k views

Can not access ssh server from outside

We are using ubuntu 10.04 LTS server.I can ssh access that server from other ubuntu machine in own network. But when we are trying to access the server from out side of LAN we are unable to ssh ...
22
votes
2answers
25k views

Progress bar in scp command

Is there any way to display a progress bar while copying from server to local using scp(or vice versa)
2
votes
1answer
2k views

How to ssh to Live CD for remote recovery - root password issue?

Is there an automatic way to SSH to a machine that booted from Live CD? I have a remote server with a HDD issue and the ISP booted my machine from a Live CD. I can SSH to the machine (lucky has the ...
2
votes
0answers
255 views

SSHFS hangs during file copy [duplicate]

Possible Duplicate: System freeze caused by ath9k driver I use sshfs to handle transfers between servers, but have been running into problems since installing 11.04. I'm not sure if the ...
6
votes
1answer
190 views

Where can I find the fingerprint of 'bazaar.launchpad.net'?

I'd like to verify the RSA key fingerprint I'm shown, where would I find it online*? Please don't post random pages showing that fingerprint, it should be an official one. *) I know that's not the ...
5
votes
1answer
7k views

Shutting down a computer remotely

What ways are there to shut down a computer remotely? My desktop is running Ubuntu 11.04 desktop edition and when I try to shut it down remotely using ssh, it doesn't actually work. I used the ...