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

learn more… | top users | synonyms (1)

6
votes
6answers
1k 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 ...
1
vote
1answer
10k 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 ...
0
votes
1answer
4k 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 ...
14
votes
2answers
10k 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 ...
1
vote
1answer
86 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 ...
0
votes
2answers
125 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
618 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 ...
1
vote
0answers
155 views

Ubuntu Server on MacBook 1,1: vbetool dpms on/off stops working after a few minutes

I disassembled my black MacBook 1,1 CoreDuo and installed ubuntu server 12.04 on it. Using ssh I can use the vbetool dams command to switch the LCD screen on and off remotely. But this only works for ...
0
votes
1answer
132 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
125 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
930 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 ...
2
votes
3answers
5k 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
405 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
1k views

Help getting ssh working from win7/putty to ubuntu? [closed]

I just installed 12.04 on a box. I installed openssh-server and started it. On my win7 laptop, I tried to ssh to the ubuntu box with Putty. It timed out. What might be going wrong? I verified ...
0
votes
0answers
33 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 ...
0
votes
0answers
225 views

SSH AllowUsers on Windows domain account

I have installed and configured likewise. Joined servers to MS windows domain. What I want achieve is restricting ssh access to domain admins only. I have tried AllowUsers domain\username and ...
0
votes
0answers
166 views

Another Remote SSH configuration problem

I have the following configuration : 1) A tunnel is created between host W and H so I can connect to W from home on port 23000 through H : on my laptop : ssh -p 23000 H and this brings me to W 2) H ...
1
vote
1answer
582 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 ...
3
votes
2answers
428 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?
6
votes
5answers
4k 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: ...
2
votes
2answers
389 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
728 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 ...
1
vote
4answers
787 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: ...
4
votes
2answers
4k 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
441 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 ...
3
votes
2answers
4k 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
1k 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 ...
7
votes
5answers
598 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 ...
6
votes
3answers
4k 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
296 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 ...
13
votes
2answers
15k views

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

I want to give some people access to my server but I want to limit their 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 ...
0
votes
1answer
3k 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 ...
2
votes
3answers
1k 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 ...
4
votes
1answer
3k 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 ...
0
votes
1answer
243 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? ...
3
votes
2answers
3k 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 ...
0
votes
1answer
2k 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 ...
5
votes
1answer
5k 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 ...
1
vote
0answers
504 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 ...
1
vote
1answer
986 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
128 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 ...
8
votes
3answers
14k views

How to prevent write failed broken pipe on ssh connection?

What can I do to configure SSH on both client and servers to prevent Write Failed: broken pipe errors, which ofter occurs if you sleep your client computer and resume later.
1
vote
2answers
2k views

SSH to open GUI on target machine?

I know -X -Y options in ssh for X11 forwarding.But these options open the gui apps on my pc.But I want to open a gui application "exactly" on target machine. So please help me with this. I tried this ...
1
vote
1answer
260 views

Mount folder using ssh twice (first ssh to gate, then from gate to workstation)

My current situation is that I have my personal laptop, and I there is a workstation I need to be able to mount. But before I can get to that workstation, I first need to ssh into the gate of the ...
1
vote
1answer
111 views

Dynamic Proxy with password

I need to setup a proxy on my localbox to redirect some requests to another network. I am doing it in the following way ssh -f -N -D 0.0.0.0:22022 some-external-host In this case every time i try ...
1
vote
3answers
1k views

incorrect permissions after copying over scp

I'm using cygwin in windows 7 to copy a directory to an ubuntu machine using this command. scp -rp -P 54322 /cygdrive/c/xampp/htdocs/. user@10.136.10.1:/home/user/somefolder/ After copying all the ...
1
vote
2answers
810 views

Why does gnome-terminal freeze when an SSH session gets disconnected?

This is a very simple problem. I use gnome-terminal to SSH to other machines every day. I do this on a laptop which I carry around the office, so I am constantly switching between wired and wireless ...
1
vote
1answer
599 views

Using ssh private key login to automatically decrypt encrypted file systems without password prompt

To quote from a previous post: "Okay, so while it's possible to use SSH Public Key authentication to log into your system without entering a password (even if your home directory is encrypted), it's ...
0
votes
1answer
680 views

How can I setup Ubuntu (and my home network router settings) so I can SSH to Linux console window?

I installed Ubuntu version 11 not too long ago. I now have that computer running on my home network and it has it's own internal IP address on my home network behind a LinkSys Router. How can I ...
3
votes
1answer
267 views

Open a pair of tabbed terminal windows with titles

I am constantly opening up a pair of terminal windows which I like to have on separate tabs that I then use to SSH to the same pair of servers. I then set the titles of each tab to be that of the ...

1 7 8 9 10 11 18