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

learn more… | top users | synonyms (1)

0
votes
0answers
21 views

Encrypted home mount for single session on Ubuntu?

I currently have Ubuntu 12.04 as my remote server and I have a purpose of keeping my important files on that server under encrypted home folder. I did this and it works; I send my files to the server ...
0
votes
0answers
27 views

Running gnome-terminal with alt-f2 doesn't set the SSH_AUTH_SOCKET env variable

I've set gnome-keyring to unlock my ssh key on login, and usually first thing I do after logging in is to run a gnome terminal via the Alt-F2 shortcut, gnome-terminal --geometry=90x40 -e byobu ...
117
votes
12answers
90k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
0
votes
0answers
16 views

How to possible to log in Ubuntu GUI remotely? [duplicate]

I am using SSH for accessing Ubuntu. Is it possible to log in to Ubuntu GUI remotely?
0
votes
0answers
17 views

Is it possible logout terminal while running program [duplicate]

Say if I login using ssh, and run python a.py For running the python program for some times. Is it possible to logout the current session, while not stopping the python program, and be able to ...
7
votes
4answers
8k views

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no ...
0
votes
1answer
36 views

ssh encoding from ubuntu client to ubuntu server wrong

I login to my server via ssh. Any umlaut is displayed incorrectly: Server Default locale: LANG=de_DE.UTF-8 LANGUAGE="de_DE.UTF-8" LC_ALL=de_DE.UTF-8 LC_TYPE="de_DE.UTF-8" Server locale: ...
0
votes
0answers
46 views

14.04 Disable keyring for SSH and GPG

Up until recently the following solution worked well: How to disable the keyring for SSH and GPG? But just a few days ago the solution stopped working for SSH. I now get a GUI prompt for my SSH ...
0
votes
0answers
40 views

How to SFTP Jail (chroot) with Active Directory authentication

I am try to set up SFTP with Ubuntu 14.04 using chroot with AD authentication restricting by Group as well as having a public area for users. I already have samba, winbind and kerberos setup as a ...
0
votes
0answers
45 views

unable to access to localhost remotely with ubuntu 14.04

I have an old PC that I have set up as a server. I've installed webmin and Plex Media and ssh server. The problem is that I could easily connect to these services in Windows 7 using firefox by just ...
3
votes
3answers
1k views

Can Ping but Cannot SSH to Openstack VM Instance

Have a multi-node MAAS-JUJU-Openstack setup, i.e., nova-cloud-controller, nova-compute, and quantum/neutron gateway are on separate hosts. In this setup, MAAS and openstack share 10.0.0.0/24 as their ...
0
votes
1answer
45 views

Displaying command progress in SSH terminal

I'm currently upgrading my Ubuntu server from 14.04 to 14.10, and I'm curious about something. If my SSH session gets disconnected during either this or any other long-running command, reopening the ...
1
vote
0answers
32 views

SSH to host machine not possible from network

My system running Ubuntu 14.04 is a part of a subnet (192.168.3.XX) and everything used to work all fine; but recently, no other system on this subnet can access my machine, though I can access every ...
22
votes
4answers
29k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
4
votes
1answer
22k views

Why do I get “connection refused” errors connecting to a server via SSH?

I've installed Ubuntu 12.04.1 LTS on it with the LAMP stack. I can ping it but when I try to connect to it the server can't be found. When I try to connect with WinSCP I get the error Network error: ...
0
votes
2answers
75 views

SSH from iPhone

I installed openssh server on Ubuntu 14.04. My machine name is called "machine" and my username is "machine" so that when I'm on a terminal it says "machine@machine". Question: When I try to connect ...
3
votes
4answers
8k views

How to use SSH with Tor?

How can I use an SSH client over Tor in Ubuntu 11.10? I already have Tor running (and successfully anonymizing HTTP traffic).
0
votes
1answer
37 views

DNS points to the right IP, but I can't SSH based on DNS

I can connect remotely to my system using the IP address, the DNS returns the proper IP, but I can't connect via a DNS record. i.e. matt@pontus:~$ ssh fake.myDnsExample.com ssh: connect to host ...
3
votes
1answer
148 views

Set user- or group-specific MOTD in SSH

I would like to disable or change the MOTD shown on SSH login on a per-group/per-user basis. This question on SuperUser has an answer stating that I can use Match blocks in sshd_config. However, man ...
0
votes
2answers
55 views

rsync + ssh public key asking authentication

After creating the keys and use ssh-copy-id command successfully, I can connect by ssh user@host but when I'm trying to do a transfer via rsync and it asks for password... rsync command is as follows: ...
0
votes
1answer
96 views

Server asking for password even after adding ssh keys

This was working fine but not sure suddenly stopped working. I have added my id_rsa.pub key of localhost to authorized_keys of .ssh folder on server. When I try to login to server (running ubuntu ...
0
votes
2answers
14k views

Public Key authentication failed

I am using ubuntu 13.10, and the server runs ubuntu 12.04. I had generate private and public keys using ssh-keygen, and put id_rsa.pub to server side and added it to authorzied_keys accordding to the ...
6
votes
4answers
64k views

SSH problem - Read from socket failed: Connection reset by peer

I can SSH in one direction with no problems: OK: ssh user@computerA but the other way: ssh user@computerB I get Read from socket failed: Connection reset by peer. I don't even begin to know ...
0
votes
0answers
27 views

SSH connection refused after reconnect for short period of time (EC2 AWS)

If I haven't connected via SSH to one of my EC2 Ubuntu instances I can connect straight away, but if I disconnect and reconnect quickly I get a connection refused message and I have to wait a few ...
0
votes
0answers
14 views

Is there a way to have a user account to have different user password and ssh password?

I am connecting to an Ubuntu 14.04 server through SSH using a sudo user with a randomly generated password (very lengthy). Of course running a command with sudo requires me to enter that lenghly ...
0
votes
1answer
26 views

Protect sensitive data on laptop

I planning to take my Ubuntu 14.10 laptop to the computer service for some cleanup. Should I care about my sensitive data safety? Is it possible to stole from system storage device: SSH keys ...
0
votes
1answer
556 views

No route to host. How to SSH from guest machine in virtualbox to host machine by bridged adapter?

Sorry for the mistakes I've made. I'm trying to connect through ssh to my host machine (Ubuntu 13.10) from guest machine (Ubuntu Server 13.10) which has bridged adapter. Vice versa everything ok - I ...
1
vote
1answer
22 views

Why ssh shows Desktop folder as a file?

I am using ssh to accessing a server and I could use scp to copy some files to server Desktop by: scp T.tar.gz username@serverIP:/home/username/Desktop but now I cannot access to server Desktop ...
0
votes
0answers
490 views

Teamviewer not working (no connection)

I installed teamviewer on an Ubuntu 14.04 machine. I downloaded from the Teamviewer homepage the 32-bit version and run: sudo dpkg -i teamviewer_linux.deb I usually use this machine directly (not ...
1
vote
0answers
33 views

Custom MOTD does not update until scripts finish

I recently got a small server and gave some friends accounts on it. They all have their own web pages in ~/public_html using lighttpd so I wrote a script to backup every user's public_html directory. ...
1
vote
1answer
42 views

Setting up user to download files with no shell access

I've created a user and set its shell to /usr/sbin/nologin. As expected, a PuTTY connection closes immediately after connection. When trying to get WinSCP to connect with the SFTP protocol, it says ...
0
votes
0answers
21 views

ssh error into different ubuntu account permission denied

I have two instances of ubuntu installed on my VirtualBox. First instance name is aks@aks-VirtualBox and the second instance name is erica@HBMaster. Now when I try to ssh from first instance to 2nd ...
1
vote
1answer
147 views

Available updates not shown when login to terminal Ubuntu 14.04

When I login to my server terminal over ssh I just see: Using username "username". Ubuntu 14.04.1 LTS Authenticating with public key "mykey" from agent Last login: Wed Oct 22 09:17:02 2014 from ...
0
votes
0answers
36 views

What is missing in my webserver ufw firewall configuration?

sudo ufw enable sudo ufw logging on sudo ufw allow proto tcp from any to any port 9999 sudo ufw allow proto udp from any to any port 9999 sudo ufw allow 80 sudo ufw app apache sudo ufw app OpenSSH ...
1
vote
1answer
48 views

Rsync behind a proxy

I'm working behind a proxy with credentials (username/password). The proxy ip is 10.302.34.02 on port 8080. My credentials are myusername / mypassword On the remote host, ssh is configured on port ...
1
vote
1answer
69 views

SSH configuration problems with Ubuntu 14.04

I'm stumped, after reading online for a bit. I'm trying to enable agentforwarding on all hosts (I know this isn't recommended, but I know the servers I'll be touching from this box) and to disable ...
0
votes
1answer
41 views

How may I do a SSH tunneling?

After reading an article about how cool can SSH be, I tried the solution given there about tunneling your connection. This is the very first time I try this. I've opened a terminal and typed: ssh ...
2
votes
1answer
122 views

Emacs screen drawing issues over SSH

I have a Ubuntu 13.10 server installed in VirtualBox on a Windows host. When I connect to it via SSH (tried Putty, Cygwin's OpenSSH and OS X terminal from a different machine) Emacs appears to be ...
0
votes
1answer
118 views

SSH - buffer_get_ret: trying to get more bytes 4 than in buffer 0

I am trying to make a tunnel. When I run command ssh [user]@[host] -p [port] -L [localport]:[ip]:[port2] -N -vv -y -i /home/glab/.ssh/id_rsa the tunnel starts. Bu the problem is that it after ...
0
votes
1answer
62 views

network error: connection refused after killing one process I guess

I started ssh tunnel process with supervisor. Then I wanted to find out which is that process and to kill it. Did not know how to identify so killed one by one to find out does my tunnel still work. ...
0
votes
1answer
38 views

Login welcome message but no shell?

I've created a user on my Ubuntu machine so that some people can log in and set up SSH tunnels and also so they can download some files from the system. I don't want them to have shell access at all. ...
0
votes
2answers
495 views

svn, ssh: Connection refused most of the time; other computers can connect

I am running Ubuntu 12.04.3 and svn as well as ssh (to servers) only works sometimes in a short time window after booting my computer, but most of the time I get "Connection refused". The problem only ...
0
votes
0answers
369 views

SSH connection closed by remote host

Hello so I'm fairly new to ubuntu. I've been trying to connect to my university's cluster using the ssh name@hostname command and after waiting for around 5 minutes I get notified that the connection ...
5
votes
2answers
630 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: ...
0
votes
0answers
67 views

How do I unlock my SSH keys on login in Ubuntu Server?

I'm making a new server that will pull backups from multiple sources on a schedule, so I'd like it to connect via SSH using a key. Setting this up in Ubuntu 14.04 Desktop is trivial, you write the ...
0
votes
0answers
27 views

Can't connect to SSH with new user

I created a new user, test. I have done the following to the account: I've given test sudo permission I've added test to AllowUsers in nano /etc/ssh/sshd_config I've generated a new SSH key pair, ...
2
votes
1answer
1k views

Keep the running processes alive when disconneting the remote connection

I have a bunch of processes on a server initiated by ssh from my own machine. It is now about three hours that my machine's Ubuntu has got hung and I do not see any other options but restart. Is there ...
0
votes
0answers
13 views

How to sync using port forwarding

I have my home computer A and a work computer C that I want to synchronise using unison. In the middle is a work computer B. A can communicate with B and B can communicate with C directly but A and C ...
7
votes
4answers
32k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
0
votes
1answer
29 views

How do I detect if the current session is an SSH session via bash?

I would like to detect whether the current user session is from an SSH connection - that is, whether the user is physically sitting at the computer that hosts the current terminal or whether he is ...