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

learn more… | top users | synonyms (1)

3
votes
1answer
4k views

How do I set up an SSH SOCKS proxy with Gnome SSH Tunnel Manager?

Generally I use this command to create a local Socks proxy via SSH Tunneling ssh -ND 7777 -i google.pem ubuntu@107.20.x.x Then i configure my applications to use Socks proxy on localhost (i.e. ...
7
votes
6answers
11k views

host is able to resolve a hostname, ssh isn't

I'm trying to connect from a 10.04 system to a 12.04 system via SSH. Strangely enough the rules in resolv.conf seem to take effect only selectively, which leaves me puzzled. Observe: [2] user@mach:~$ ...
3
votes
3answers
43k views

Trying to login to openssh, permission denied

I have been trying to login to ssh on a ubuntu 11.04 server as root with the AllowRootLogin thing set to yes but i have been getting a "Permision denied" Heres a copy of my attempt with ssh -v: Last ...
5
votes
2answers
782 views

Everytime i am trying to connect to my box using SSH, its failing not connecting

From any other PC doing SSH to my Ubuntu 11.10,is failing. My network setup: Telenet ISP (Belgium) > Fiber cable < > RJ45 cable straight > to Ubuntu PC Even the SSH is running: Other PC: ...
3
votes
1answer
4k views

Does creating a SOCKS proxy via ssh hide my activities from my ISP?

I've been using an ssh tunnel for browsing, reading that doing so would encrypt the connection to the internet. However, i have no idea as to what kind of protection that the ssh tunnel really ...
3
votes
1answer
2k views

Problem while enter my password to open an editor

I've installed ssh but I have a problem when I try to write my password.I get this message: sudo] password for hduser: Sorry, try again. [sudo] password for hduser: debug3: Received SSH2_MSG_IGNORE ...
4
votes
4answers
3k views

Invalid SSH key error in juju when using it with MAAS

This is the output of juju from a clean install with 2 nodes all running 12.04 juju bootstrap - finishes with no errors and allocates the machine to the user but still no joy after juju ...
1
vote
1answer
674 views

12.04 x64 Server Login Failure

After some serious GRUB issues after routine kernel updates, forcing a grub-reinstall via chroot and some single-user mode maintenance, I now cannot login to my server (except via single-user mode) ...
5
votes
1answer
1k views

SSH remote user need to be logged in?

I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc. When I restart the server (really just Ubuntu 12.04 desktop) and I ...
2
votes
2answers
159 views

scripts in ~/bin don't work when connecting through ssh

I have some script in my $HOME/bin folder. When I access my machine remotely I can't use them and I can't understand why. They work just fine when I'm in front of my remote computer. I think it might ...
4
votes
3answers
4k views

Is there a way to do scp in parallel to multiple systems?

Is it possible to copy a file parallely to all the systems simultaneously? like @ a time the file should be copied on all the machines...
0
votes
1answer
183 views

SSH programs terminates when closed [duplicate]

Possible Duplicate: How can i keep a command started from shell on running if i logout from shell? When i ssh into my server and launches a program and then closes the SSH, the program ...
6
votes
7answers
4k views

Find out if there is a local user logged in when logging in over ssh

I need to run some calculations on a machine that I can only access remotely but also serves as a work station. There are many of them and I want to pick a "free" one. Free means in this case that no ...
4
votes
5answers
29k views

ssh: connect to host myremotehost.com port 22: Connection refused

So I am trying to get ssh working on my server. I can connect on my local network with the local ip address of the server perfectly fine. When I try to connect remotely (through a domain name that I ...
4
votes
2answers
12k views

Cannot ssh into Ubuntu Server by hostname

I just set up Ubuntu 12.04 Server on an old box laying around, connected to my router via ethernet. I set up openssh-server as instructed for remote access, but I cannot ssh into it from my laptop ...
54
votes
3answers
41k views

Locale variables have no effect in remote shell (perl: warning: Setting locale failed.)

I have a fresh ubuntu 12.04 installation. When i connect to my remote server i got errors like this: ~$ ssh example.com sudo aptitude upgrade ... Traceback (most recent call last): File ...
3
votes
2answers
830 views

How do I remotely patch openSSH to allow handshake obfuscation?

I believe that my Chinese ISP has started detecting and bandwidth-limiting SSH connections. I'm not using the default SSH port so I suspect that they are using deep packet filtering to detect the ...
1
vote
1answer
105 views

Is there anything like online Ubuntu O/S

I use 64 bit Ubuntu 12.04 but sometimes i need 32 bit Ubuntu for some specific purpose. So i keep 32 bit Ubuntu installed in virtual box. I wonder if there is any service like online Ubuntu where we ...
2
votes
2answers
342 views

How to stop bzr from using ssh (asking a password) for downloading?

I have configured bzr to push updates and now it's using ssh for downloading all the branches too. Is it possible to use ssh only for uploading?
2
votes
2answers
1k views

How do I set up a linux proxy for my mac

As my title suggest, I would like to set up a proxy in linux. The client that I'm using is a mac osx lion. I think I understand the theory but I keep hitting roadblocks. I started using set proxy ...
0
votes
1answer
239 views

Is there any mechanism that blocks connections by IP address in a default 11.04 installation?

On a default installation of 11.04 desktop (running inside a VM), I'm getting a strange phenomena in which occasionally some people can't ssh into their account in the regular way (they simply get a ...
1
vote
2answers
282 views

Screen with ssh to overcome disconnection

I have a script name.bash. I want to run it on the server serv@domaine with ssh but I'm afraid to run it directly and close my shell and stop execution. I read that i can run my bash on the server ...
1
vote
1answer
2k views

How to reset my password without rebooting?

I lost my password to a VM running 11.04, but have ssh access via public key authentication. Is there any way I can reset the password without a reboot? (This is to avoid downtime of services it's ...
3
votes
4answers
14k views

“Can't open display” even after access with xhost

I'm trying to run a graphical program remotely, without using ssh. I've set the display variable on the server (let's say server.com, Linux, not ubuntu, and no su rights) to point to my workstation ...
0
votes
1answer
678 views

Connecting to SSH/RDP/VNC through one machine?

I am asked to come up with a solution for connection to ssh, vnc and rdp services in company firewall/proxy via one box on DMZ. The task is to get users to connect to this one box and then to the ...
0
votes
0answers
34 views

Is it possible to continue an ssh session upon each re-connection? [duplicate]

Possible Duplicate: How to keep processes running after ending ssh session? I'm running Ubuntu 10.04 on a remote server. I'd like to know if it's possible to continue an ssh session upon ...
3
votes
1answer
7k views

Can I access my home PC from the office with SSH?

I want to use my home pc at my office, without literally taking it to my office. I would like to have a simpler solution than TeamViewer, cause I'm usually using Live distros at my work place, so SSH ...
4
votes
2answers
4k views

how do you background a ssh process?

I know you can suspend a ssh session with ~^z, but is there also a way to background it so that it continues working while you do something else in the local shell?
8
votes
5answers
14k views

How can I permanently save a password-protected SSH key?

I am using Awesome Window Manager How can I permanently add private keys with password? Inspired by the answer here I have added the private keys in ~/.ssh/config Contents of ~/.ssh/config: ...
5
votes
2answers
3k views

How do I terminate all idle incoming ssh connections?

I want to be able to automatically terminate ssh connections that are idle for more than 10 minutes. How do I do this?
2
votes
1answer
1k views

How can I automount my ecryptfs ~/.private directory without logging in?

On Ubuntu Server 12.04 LTS, ecryptfs is set up where my /home/user/.private directory becomes decrypted when I login. I can then access my files in /home/user/private. But if I don't login to the ...
2
votes
4answers
4k views

Problem with scp syntax

I am trying to copy a .tar archive from remote server to my pc. Directory of the archive that I want to copy: canserhan@embserv:~/tar_files/rtl_archive.tar Destination: ...
8
votes
3answers
14k views

git ssh :Permission denied (publickey)

I tried to use github so I followed the help doc. But when I used this command : ssh -vT git@github.com I got error like this: jacos@Jing:~/.ssh$ ssh -vT git@github.com OpenSSH_5.8p1 Debian-7ubuntu1, ...
2
votes
1answer
870 views

What happens when I connect to a remote host via ssh?

I take classes at the University of Pittsburgh and I need to do my work in the universities linux terminal remotely. I use the command ssh usr@thot.cs.pitt.edu and I'm prompted for my password to ...
5
votes
2answers
15k views

Git ssh error: port 22: no route to host

I tried to use set up git and use it for github, then when I followed the help doc, but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this command: ssh -T ...
0
votes
1answer
2k views

Operation times out trying to SSH outside LAN i.e. from internet to LAN no connection is established

I run Ubuntu 12.04 and have no success connecting with SSH from "Internet". The router is a TL-MR3420 which is set up to forward requests to one of the NIC's on ubuntu machine (which has in total 3 ...
10
votes
5answers
2k views

Is syncing private keys a good idea?

Ubuntu One's Security FAQ indicates that Canonical encrypts connections and restricts access to user data. This all well and fine, and I do trust SSL for online banking and other things more valuable ...
23
votes
3answers
31k views

copy ssh private keys to another computer

I need to use another computer to access my ssh server. This is because a recently implemented vpn at my university doesn't work on my current computer and I have lost access to the server. I ssh ...
-1
votes
2answers
563 views

Remote ubuntu (Mint) becomes unreachable after running upgrade to oneiric

Got this message when I logged in and decided to upgrade. I am a noob. So anyways, I ran the command and next thing I know, I can no longer log into it after the reboot. What the heck happened? I get ...
51
votes
3answers
112k views

How can I chroot sftp-only SSH users into their homes?

I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see. I've created a user called bob ...
1
vote
1answer
12k views

SSH problems (ssh_exchange_identification: read: Connection reset by peer)

I was running 11.10 and decided to do the full upgrade and come up to 12.04 after the update SSH (not SSHD) is now misbehaving when attempting to connect to other OpenSSH instances. I say OpenSSH as I ...
8
votes
3answers
10k views

How can I force SSH to give an RSA key instead of ECDSA?

Upon the first time accessing a server, how can I force SSH to give me the RSA key and automatically store it if the user approves? Presently it is offering me the ECDSA key. Because I already know ...
17
votes
1answer
16k views

How do I send a notify OSD message to a remote user via ssh?

Sometimes we need to send a message to a remote user. We can display messages on our local desktop using Notify OSD, but we are unable to send a message to the remote user's desktop. We tried the ...
1
vote
1answer
387 views

How to programmatically log-in a user remotely

How do I programmatically and remotely (using SSH) log-in a user so that the lightdm login screen closes and loads the user's desktop as thought they had physical typed in their username and password? ...
4
votes
2answers
9k views

Route all traffic through SSH tunnel or equivalent? [duplicate]

Possible Duplicate: How do I route my internet through a SSH tunnel? I just got a new laptop and put Ubuntu on it as a good way to force myself to learn Linux. This laptop will be going ...
1
vote
1answer
4k views

How to bring up System settings GUI tool using Cygwin-X over SSH

I am connecting to my headless ubuntu 12.04 server using SSH and I want to make some changes to system settings. There is no desktop manager running so VNC is not an option for me. I have Cygwin-X ...
6
votes
1answer
10k views

SSH into Ubuntu VM remotely

I dont have much experience on networking or linux, but I'm trying to ssh into an Ubuntu virtual machine from outside my home network. The Ubuntu virtual machine (VirtualBox) is running an a Debian ...
2
votes
0answers
815 views

what to do about .ssh-agent pop up at login screen? [closed]

I was setting up git with a ssh key passphrase on Ubuntu 12.04 via the terminal with the assistance of Help.GitHub: "You can run ssh-agent automatically when you open bash by adding the following to ...
2
votes
1answer
5k views

Is PPTP a secure VPN-protocol?

I will be setting up a VPN on my home server and in tutorials I've read it says that the protocol can only be used with passwords, not key-files. To me this doesn't seem very secure so I was wondering ...
4
votes
1answer
304 views

How to stop SSH filesystem from discarding root permissions after every command?

i have a small bash script that mounts my sshfs... problem is it ask for the server/host password for every mount... i have four mounts and i have to enter it every time for 4 times and its ...