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
50 views

Prevent machine from sleeping when SSH connections are on

I am trying to save power by switching desktops to suspend mode when they are inactive. But many desktops are also accessed via SSH by their owners. There is a wakeonlan solution deployed to enable ...
41
votes
9answers
71k 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? It often occurs if you sleep your client computer and resume later.
0
votes
1answer
14 views

DigitalOcean droplet root password not accepted for client, but works for console

I have an Ubuntu 14.04 droplet with PubkeyAuthentication set to yes and PermitRootLogin set to no. Since I created it, my pubkey has worked fine. For some unknown reason today it's not accepting my ...
-1
votes
1answer
21 views

Jailkit freezing

I'm trying to jail ssh users on my Ubuntu 14.04 server. So after installing Jailkit version 2.17 (with the help of this tutorial) I'm now trying to follow this AskUbuntu answer to use Jailkit. After ...
1
vote
1answer
36 views

do-release-upgrade via ssh

I am using Ubuntu on a vps via ssh. I run do-release-upgrade try to update from 12.04 to 12.10. The update seems to be successful. But after restarting, I can not login via ssh( bad file number 22) . ...
0
votes
2answers
126 views

ssh server: allow only login with key

I know, this question has been ask several times. But Im trying to setup a ssh server. I thought the critical setting is that I have to set PasswordAuthentication no. But I already did so and ...
0
votes
1answer
26 views

Locked myself out of remote server

Before I left, I've set up an old computer with Lubuntu 14.04 32-bit. While trying to set up rtorrent, I did something to lock myself out while following this tutorial. Normally my computer has one ...
4
votes
1answer
20k 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: ...
3
votes
1answer
1k views

What causes SSH problems after rebooting a 14.04 server?

Why does rebooting a server running Ubuntu 14.04 give me 'Connection refused' errors? I see ssh: connect to host <IP-address-here> port 22: Connection refused but only for 14.04 and only after ...
0
votes
0answers
7 views

Sickbeard start service on boot not working: Permissions issue?

I've just installed Sick-Beard on my server. Starting the service via SSH works just fine, as I issue the command sudo service sickbeard start However, I can't get the service to start on boot. ...
1
vote
0answers
17 views

Unable to reach server by SSH

In a state of "only 10 more minutes left until the weekend" I did an apt-get upgrade last Friday to ignorantly fix the reported shellshock error. The upgrade seemingly went fine and I logged of the ...
0
votes
0answers
15 views

How to set up ssh on a lubuntu vm (VirtualBox) and windows host

I've set up a Lubuntu vm using VirtualBox on my Windows 8 desktop and I want to connect my laptop, which is dual-booted with Windows 8 and Ubuntu, to the Lubuntu vm via SSH. I've gotten as far as ...
-2
votes
0answers
14 views

Trying to run linux application on embedded linux platform over SSH [on hold]

I have a TI AM3352 processor running embedded linux (angstrom 3.2.0). I connect over SSH to the device. I scp my application I created (a hello world) into /home/root. I changed the ...
0
votes
2answers
4k views

How to install software raid 0 on ubuntu 12.04 server with mdadm?

I need to install a software raid-0 array on a Ubuntu 12.04 server with mdadm through commandline (SSH). The drive setup is as follows: SDA = OS SSD SDB = HDD for raid 0 SDC = HDD for raid ...
1
vote
1answer
1k views

Problem with hadoop start-dfs.sh

I installed and configured hadoop on my Ubuntu 14.04 server, virtualized inside of hyper-v, however I am getting an issue when i run start-dfs.sh root@sUbuntu01:/var/log# start-dfs.sh 14/06/04 ...
2
votes
2answers
163 views

CVE-2014-6271 over ssh example attack?

I've been reading about the CVE-2014-6271 bug on lots of pages, but I'm still not able to understand how exactly is it possible to exploit it over ssh. From all I've read, I couldn't find an example ...
1
vote
1answer
54 views

How to access a git repository using SSH?

I have the public key. I think this is needed for the SSH connection to the server where the git repo is located. Now I don't know how to get the code. Can someone please tell me the complete ...
0
votes
0answers
17 views

Networking issue in IBM x3650 after install Ubuntu 14.04.1

I have a problem making TCP connections after a fresh Ubuntu 14.04 installation. First of all, after booting the interface is always off, in my case em2(manually configured), so I turn it on using ...
2
votes
0answers
183 views

Using SFTP with SSH ForceCommand directive

I have set up an SSH server (call it group2.fqdn) with this ForceCommand directive: Match Group group1 ForceCommand ssh -t group1.fqdn Match Group="*,!local,!group2,!root" ForceCommand ...
9
votes
4answers
699 views

Identify the server I'm working at

How to identify which server you're on when using ssh from terminal? I have to ssh into 30 servers daily, and switch between them constantly. Currently I'm editing the tab name and writing the IP ...
2
votes
2answers
807 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
votes
0answers
24 views

Connect to ssh server and avoid firewall blocking [closed]

I have remote host/server with ssh access. I have my computer in my work network which can connect via ssh only within this network. And i can not connect via ssh to other world because of port 22 ...
1
vote
1answer
25 views

Prevent SSH from logging out after running initial commands

I'm using ssh to connect to a remote Linux machine like this: ssh -i .ssh/path/to/id_rsa -p 22 user@host 'cd /path/to/dir' I'd like some commands to be executed upfront (such as cd /path/to/dir) ...
1
vote
2answers
2k views

Connect to MySQL DB tunneling with SSH using Emma

I have tried using the mysql-workbench but it was too confusing, then I decided to use emma instead. I am trying to connect to my MySQL DB through SSH, but I don't see that option when I try to make a ...
3
votes
3answers
5k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
6
votes
4answers
146 views

Cannot SSH from outside LAN despite port forwarding seems fine

Running Ubuntu 12.04, I've set up the OpenSSH server. I can connect from within LAN, but not from outside. I am using the same sshd_config file as on my other Ubuntu 12.04 machines (that sit in a ...
0
votes
0answers
35 views

Why is my SSH session so slow when Dropbox is uploading?

When Dropbox is uploading, my SSH session to a remote server (a DigitalOcean droplet) is extremely slow. By slow, I mean the latency is very high: I type a word and it appears in the terminal 5+ ...
2
votes
1answer
151 views

remotely log out of (graphical) gnome session

I have a (graphical) login session running on an office computer, and I'd like to log it out to save on a few computer resources. I can ssh to the office box, but when I try gnome-session-quit I get ...
1
vote
2answers
3k views

“PTY allocation request failed” error when trying to connect using SSH

I'm trying to log into Ubuntu desktop. I get the following error message: PTY allocation request failed What does it mean and how to connect to my desktop? This is the output with -v: debug1: ...
0
votes
0answers
6 views

Ubuntu OpenSSH having issues connecting to Cisco router. No such issues with other distro or OSX

Below is the output from ssh -vvv user@host. I've tried this on two separate computers running Ubuntu. It works from Opensuse and OSX, and also my Android phone. Interesting issue. Any suggestions ...
3
votes
5answers
225 views

Cannot delete Directory, doesn't exist?

Somehow this folder got created when i was logged in via sftp. "Sep 19 18:50 " I tried to delete it via sftp. Tried to SSH in and delete with rm -rf as root Error: rm ...
1
vote
1answer
57 views

How to lock down SFTP user?

I really need some help, I have been trying to jail a user using ubuntu. Thing to note: james is the user sshusers is the group /home/james/upload/ is the directory where I wish to lock user ...
1
vote
1answer
38 views

Ubuntu 14.04 - SSH connection - Open Image

What I'm using Ubuntu 14.04 SSH connection to another Ubuntu 14.04 machine What I'm trying to do View/Display the content of an image (.png, .jpeg, .bmp...) from the console. I'm connecting to ...
0
votes
0answers
24 views

How do I connect to Ubuntu from Android via USB?

Referring to the question that has been answered: How do I connect to Ubuntu from Android? I cannot connect from my Android phone using JuiceSSH, because I don't know the ip address of my USB port. ...
0
votes
0answers
42 views

Error bootstrapping juju environment maas, crypto/rsa: verification error

I bootstrapped the juju environment for maas. It was working fine but, my bootstrapped node formatted due to network boot. I then removed juju and deleted the environments directory and reinstalled ...
40
votes
3answers
31k views

Does ssh key need to be named id_rsa?

I have come across this problem a couple of times when creating build servers with keyed authentication. I was wondering if anyone else has experience this. I have a couple of keys for my current ...
0
votes
1answer
3k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
-1
votes
1answer
23 views

Get visual output over ssh

I have a remote ubuntu 14 installation and I am running apache solar and apache nutch on it. At the moment I am connecting over windows 7, with putty to my server. Apache Solr has a if you open on the ...
8
votes
1answer
834 views

How to get server MOTD on non-server install

Is there a way to get the fancy MOTD that shows up on an Ubuntu Server install on my Ubuntu Alternate install? Like this: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64) * Documentation: ...
2
votes
0answers
42 views

Understanding ssh - apparent IP address: dynamic vs local port forwarding

I have ddwrt on my router back home and I'm playing with ssh on my laptop from a remote location to better understand ssh. My router has port 5000 listening for incoming ssh which it port forwards to ...
0
votes
1answer
62 views

Ubuntu 14.04 - BUG? SSH login failing [duplicate]

Ubuntu 14.04 - installed apt-get install openssh-server, username is sun and password is 1234 and root also has password 1234. Remotely connecting and failing to allow me. suns-MacBook-Air:js sun$ ...
9
votes
1answer
7k views

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. ...
4
votes
1answer
3k views

Cannot establish ssh connection to computer on local network

I've just (re)installed ubuntu 11.10 on my main pc, and the connection times out every time I try to ssh connect to my laptop (over the local network) to retrieve the files I backed up there. The ...
10
votes
3answers
5k views

How do I backup ssh keys?

I am planning to do a fresh install of ubuntu 11.10 in my system. Before that i have setuped key based ssh authentication in this machine. Is it possible to take backup of those ssh keys, so that i ...
0
votes
2answers
49 views

Unable to perform root login

When I try to ssh into my friends computer in the same LAN with his host-name and IP I am able to login successfully. But when I try to login using the root user password it shows me the following ...
1
vote
1answer
16k views

remote SSH root login with Ubuntu 12.04

I'm pretty much a novice with Ubuntu, still exploring. I have a VPS server. I was able to set-up two PPTP VPNs with Ubuntu 11.04 but now I'd like to try my hand at an IPSEC/L2TP connection. However, ...
4
votes
3answers
196 views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
13
votes
6answers
17k views

Why does ssh's “password” prompt take so long to appear?

When I try to ssh, the password prompt takes too long (almost two minutes) to appear. Why does this happen?
0
votes
1answer
16 views

Control + D not working in mail

I am trying to test the mail capabilities of my server. I simply do this mail -s "This is a test" myemail@domain.com, then it prompts me for Cc: then the body. After typing into the body I am hitting ...
0
votes
1answer
16 views

Is it possible to log into a remote LAN user using the ssh client without using his password?

I am on a LAN network having around 50 systems using ubuntu. I know the root user password used by most of the systems. If i know the root user password of a system, is it possible to ssh into that ...