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

learn more… | top users | synonyms (1)

0
votes
3answers
5k views

How to start GUI application on a remote Ubuntu box via SSH

I can log into the remote Ubuntu (Kubuntu 12.04) machine. Using the info from (How to start a a GUI software on a remote Linux PC via SSH) I tried the following after logging in: user@Kub:~$ export ...
52
votes
10answers
45k views

How to harden an SSH server?

What measures can/should I take to make sure that security around my SSH server is absolutely impermeable? This will be community wiki from the start, so lets see what people do to secure their ...
3
votes
1answer
137 views

Prevent SFTP from disconnecting

I am using the latest version of FileZilla (3.9.0.6) to connect to a fully up-to-date Ubuntu Server 14.10 with OpenSSH. When I SSH into the server using PuTTY, the connection never times out. I stay ...
0
votes
2answers
35 views

rsync over ssh “error in protocol data stream” (code 12). ssh works

I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] ...
0
votes
1answer
37 views

Apartment Network Issue

Ok so I'm trying to SSH into my home machine from work/school. Problem is, even though I set up my router appropriately, I can only ssh into it when I am in my apartment's network (not my own ...
0
votes
0answers
19 views

Enable Vino Script Help

I have been trying to add and enable Vino to our districts Ubuntu laptops but have come up with some issues that I can seems to find a solution to and i was wondering if you might be able to assist. ...
0
votes
1answer
192 views

Rsync creates error message unexplained error (code 255) at io.c(837)

When I try to rsync -qaPH source/ 192.168.1.21:/var/backups I get rsync: [sender] write error: Broken pipe (32) rsync error: unexplained error (code 255) at io.c(837) [sender=3.1.0] Whats wrong ...
0
votes
1answer
186 views

Unable to ssh remote unlock encrypted ubuntu server 15.04 using dropbear/initramfs

So I'm trying to set up a brand new Ubuntu 15.04 headless server with full disk encryption and remote unlock capabilities. I've done this successfully on a raspberry pi running Raspbian-Wheezy, and ...
1
vote
2answers
23 views

Is it possible to sign in to server via SSH without SSH key?

So what has happenend, is that I have a Ubuntu 14 server. I have my SSH key uploaded to the server, and a password. I only have one user; root. The problem is now, I formatted the computer on which I ...
3
votes
1answer
53 views

Why does shutdown from a remote terminal fail to power off my machine? [duplicate]

I have noticed that if I shutdown Ubuntu 14.04 from a remote terminal via ssh and running sudo shutdown now, the machine does not power off. If I use the GUI (shut down using Unity on the machine ...
3
votes
3answers
7k 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 ...
0
votes
0answers
23 views

SSH by key incredibly slow

SSH connecting with key, from my machine suddenly got incredibly slow (~10sec!). It is not a server or DNS problem as far as I can figure out. The problem suddenly appeared after a simple apt-get ...
0
votes
5answers
112 views

quick-and-dirty file sharing on a LAN

I have a rather large file(s), which I'd like to share between two Linux boxes on the same network. I'm somewhat familiar with scp, but how do I configure it on the host? That is, how does the host ...
6
votes
2answers
3k views

Ubuntu 14.10 server startup

I install just the OpenSSH server on hardware that was running 14.04 Server. Besides the pages of checks the startup goes through, I believe it should recognize scroll lock from an usb keyboard, but ...
0
votes
0answers
19 views

SPAMHaus/ CBL Blocking List:: UNIX System (Firewall)

I am no linux/ unix guru but CBL and Spamhaus are blocking us every 8 hours roughly and recording it as SPAM. I have completed their instructions to do the following but am concerned i have done it ...
1
vote
1answer
28 views

Search specific word inside document using ssh [duplicate]

Currently i have to analize some big files looking for a espefic word in .css located on my /var/www/ located on ubuntu server (ssh). There a way to make something like Ctrl+f in windows ...
1
vote
1answer
41 views

scp - files getting different sizes in destination folder

While using scp, the total file size was noticed to be 0.1G less in the destination folder and, a few files were noticed to be larger in size in the destination folder. What could have caused this? ...
2
votes
0answers
51 views

udev/dpkg error

I'm getting this strange output every time I try to execute a command through SSH on my VPS (Ubuntu Server 15.04) which doesn not allow me to install anything. Any suggestions ? Job for ...
4
votes
2answers
1k views

No MOTD on Ubuntu 14.04…?

I recently did a fresh install of Ubuntu 14.04. When I SSH, there is no MOTD (and yes, I have the appropriate command set in sshd_config). I read a bunch of tutorials about setting up MOTD, but I ...
0
votes
1answer
26 views

“xsp4 address already in use” and “access forbidden”

I'm taking over a project from a coworker who recently left. I'll be working by myself on a website that runs on ASP.NET through mono on a xsp4 server. I'm new to linux and the ASP.NET framework so ...
0
votes
1answer
13 views

'Screen -h num ' not working on ubuntu

I am logged into my remote server using ssh and then running a process using screen. I started a screen session using screen -h 5000 so that I can scroll up the screen to see the console output. But ...
0
votes
2answers
16 views

Created a new OpenSSL key and I don't know where my CSR file is?

Still learning a lot about Ubuntu and server management. I need to generate a new SSL certificate and I have followed a tutorial on how to create the CSR file. I ran the following command: openssl ...
0
votes
2answers
61 views

ssh with .pem file to amazon instance Permission denied (publickey)

I am trying to login to instance on amazon using, my ".pem" file has 600 privileges: ssh -v -i FTPServer.pem ec2-user@ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com i tried all possible users ...
3
votes
1answer
35 views

OpenSSH client not connecting after deleting id_rsa

So I stupidly overwrote my id_rsa and id_rsa.pub files earlier, and I just decied to rm -rf the whole .ssh folder because it was all corrupted/broken after tinkering with it. Ever since that when I ...
4
votes
2answers
4k 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 ...
0
votes
1answer
30 views

Can a user with ssh keys set their own password after logging in with keys without knowing their password?

I'm playing around with a script to create a user across a number of machines. I'd like to not know the users password at any time, but having the public SSH keys is quite acceptable to me. The user ...
1
vote
0answers
13 views

How to forget sftp password in Nautilus (none in seahorse)

I added the entry sftp://daniel@<somedomain> to my bookmarks in Nautilus. The first time it was accessed it asked for the password but never after that. I cannot remember which option I selected ...
1
vote
1answer
59 views

Cannot SSH into home desktop

I've installed openssh-server, I've edited /etc/ssh/sshd_config to look as follows # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols ...
0
votes
1answer
71 views

problem with login node on maas via ssh

I've a problem with the login on nodes via ssh. After I've installed MaaS, added the ssh key on MaaS,added 2 nodes, made them in ready and then in allocated status, activated the power on using ...
0
votes
1answer
34 views

SSH to Ubuntu Desktop [duplicate]

I've setup an SSH server on my Ubuntu desktop at home using a dynamic DNS service (NOIP). I have a wi-fi-only Android tablet running Android version 4.4.2. Port 22 is forwarded, ufw is disabled ...
1
vote
3answers
90 views

Get current ssh session's originating IP without being superuser

I am trying to find out the current ssh session's originating IP address. I found the following to be useful, but it requires sudo: $ sudo netstat -tapen | grep ssh | awk '{ print $5}' | sed ...
2
votes
1answer
89 views

Messed up with my ssh_config file. How can I recover the original file?

I was setting up ssh on Ubuntu. I accidentally copied the contents of sshd_config in ssh_config file! Is there a place where I can find the original one? Fortunately I didn't touch the ssh_config. I ...
1
vote
2answers
5k 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
1answer
5k views

Problems using the start-dfs,sh on hadoop 2.2.0

Im using this tutorial for installing hadoop 2.2.0 http://codesfusion.blogspot.in/2013/10/setup-hadoop-2x-220-on-ubuntu.html I've completed many of the steps successfully but I'm stuck over this ...
1
vote
2answers
88 views

Simplest way to set up new user with SSH access on remote host, given root access

I am writing a tutorial on setting up Ceph the hard way, shell all the way. I am not happy with the number of ssh commands it takes to connect to a remote host as root, create new user, then scp keys ...
2
votes
3answers
30k views

ssh: connect to host 192.168.1.7 port 22: Connection refused

I get this error when ever I try to connect my desktop with another desktop using SSH, but I'm able to ping the other desktop successfully. ssh: connect to host 192.168.1.7 port 22: Connection ...
0
votes
1answer
3k views

Cannot connect to university computer via ssh over a VPN connection to my uni. network?

I need to VPN for happen a ssh connection to my uni. server. Both computer powered by Ubuntu 13.10. I am able to establish VPN connection to the network but ssh connection does not repond and gives ...
5
votes
2answers
469 views

Why do I've two entries per server in known_hosts file?

On my mac I've 1 entry per server in the ~/.ssh/known_hosts file, in Ubuntu I noticed there are two created per server. Why is that? Format is: |1|wwwwwwwwwwwwwww=|wwwwwwwwww= ecdsa-sha2-nistp256 ...
2
votes
0answers
24 views

Openstack, Connecting to nova, error: Cannot initiate connection

I am new to Openstack, I've installed it using devstack. I launched an instance using ubuntu server cloud image with heat flavor. I can ssh to the instance. The problem is when trying to do: sudo ...
1
vote
0answers
69 views

How to fully disable kde wallet?

I'm on kubuntu 15.04. I'd like to use ksshaskpass, but whenever I run it, I get requestor to create kdewallet. I did disable kdewallet, as shown in How to disable KDE Wallet? , any my config files ...
0
votes
0answers
56 views

Ubuntu server 14.04.02 unresponsive with most of the commands (Ping, etc…) after apt-get dist-upgrade

[EDIT] Seems solved, problem with name resolution suddenly disappeared [/EDIT] I have a Ubuntu Server 14.04.02 on a private server with generic kernel installed, that I can still SSH into. Welcome ...
13
votes
5answers
12k 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
35 views

Openstack, ssh ubuntu instance: permission denied

I've installed devstack, downloaded a trusty ubuntu server image, launched a heat flavor instance, created a public ssh key, all fine. But when trying to log in with ssh -i key.pem ubuntu@ipAdress I ...
23
votes
4answers
34k 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 ...
1
vote
1answer
9 views

Disallow VNC if not via a SSH tunnel?

How can I disallow VNC if the connection isn't via a SSH tunnel?
0
votes
0answers
6 views

SFTP Help with Public Keys [duplicate]

So I feel like I'm hitting a wall with openssh. Steps that I have taken: I have setup a usergroup called ftp, added a user(lets say user1) to the group. I then setup openssh, here is my edited ...
1
vote
1answer
4k views

SSH: Permission denied, please try again. While tryng to connect to remote 12.04 server

I'm having quite the head ache because of this. The day before yesterday I rented a VPS at atlantic. They provided me with vnc and root's ssh credentials. I could only login through a VNC viewer ...
4
votes
1answer
210 views

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

So I followed the guide on how to add a SSH key to GitHub, and added a new SSH key with a passphrase to GitHub and the SSH agent. Now, if I run ssh -T git@github.com as described in the guide to test ...
1
vote
0answers
38 views

Multiple sftp users and access to a /var/www subdirectory

I have some users on my Ubuntu server with vsftpd installed. The server is used as web server and has a shared sftp directory that is accessed by public clients (by giving them the user and password). ...
3
votes
1answer
54 views

How did I login to another server without my private key?

I just had a very scary moment, which forced me to wonder about the security of my private SSH key. Here's what happened: Logged into my server using my SSH key. Gave the entry for my public key ...