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

learn more… | top users | synonyms (1)

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
327 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, ...
5
votes
6answers
61k 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 ...
1
vote
1answer
176 views

Garbled UI with vnc, chicken-of-the-vnc, gridengine, qmon

Ubuntu 11.04 gridengine version 6.2u5-1ubuntu1 I start a desktop with the vncserver command. My ~/.vnc/xstartup ends with 'gnome-session'. I connect to it using chicken-of-the-VNC on my MacOSX ...
14
votes
1answer
38k views

How do I set up SSH authentication keys? [duplicate]

Possible Duplicate: How can I set up password-less SSH login? I am using ssh to connect to a remote server. I am prompted to provide a password each time, but I recall being able to set up ...
4
votes
1answer
738 views

Why does rsa key authentication only work when samba access is made?

I created a public/private key to authenticate myself to my web server via ssh, and that seemed to work fine at the time. Since, every time I try to log on via ssh I have a heart attack because I get ...
2
votes
1answer
541 views

Auto mount remote NTFS drive on local system

I have an NTFS drive on PC-A that I would like automatically mounted on PC-B on startup or through a launcher so that I can access through Nautilus etc.. PC-A and PC-B are both running Natty Narwhal. ...
1
vote
1answer
326 views

Fix $PATH to work with SSH

I'm running Ubuntu 11.04. Suddenly my server stopped to recognize any commands: ssh lisv22@chusmix.com Password: -bash-3.2$ sudo -bash: sudo: command not found I think this has to due with a ...
0
votes
2answers
3k views

Putty works but ssh from terminal fails after SSH2_MSG_KEXINIT

I have had problems connecting with ssh through the terminal to different machines around my workplace and my home. The three last lines is (if I run ssh with -vvv): debug3: load_hostkeys: loaded 0 ...
2
votes
1answer
2k views

How do I install the SSH2 extensions of PHP?

I want to be able to run PHP functions like ssh2_connect. But, those functions are not available on my machine. What do I need to do to install them? I am using Ubuntu 8.04 Hardy Heron.
3
votes
2answers
23k views

How to copy file to another machine through terminal?

I have Ubuntu 10.04 running through VMPlayer. And I have another machine (Asus RT-N16 router). I am able to connect to the router with telnet and see its file system. How can I copy the file from the ...
2
votes
0answers
310 views

Does Ubuntu One support SOCKS 5 (SSH Tunneling)? [closed]

I cannot make the Ubuntu One to run under SSH Tunneling (Dynamic Port Forwarding). Does it support SSH Tunneling? If yes, how to set it up, thanks.
1
vote
1answer
455 views

Is there a graphical ssh-agent in 10.04 LTS Server?

I have a co-worker who installed the gnome desktop on top of 10.04 LTS Server. His gnome session is running under ssh-agent, and if he runs ssh-add directly, it immediately prompts for his passphrase ...
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
554 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
642 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 ...
33
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
824 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
194 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
473 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
798 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
234 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
398 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 ...
19
votes
5answers
84k 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
754 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
78k 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 ...
86
votes
1answer
73k 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
725 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
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 ...
10
votes
3answers
10k 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 ...
46
votes
3answers
94k 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
291 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
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 ...