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

learn more… | top users | synonyms (1)

2
votes
1answer
88 views

Hadoop in Ubuntu : Unable to create Passwordless SSH

I am learning Hadoop and trying to create the passwordless SSH following the procedure in define in the Book : Hadoop: The Definitive guide Configuring SSH Pseudodistributed mode is just ...
10
votes
5answers
84k 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
1answer
45 views

How to open a picture from Ubuntu server, via [SSH on] my laptop Macbook? [closed]

I am currently using Macbook iterm2 for ssh connection to my ubuntu server. I am image processing via terminal and want to open the result. What whould be easist way of doing this?
1
vote
1answer
89 views

How to create a SFTP (SSH) User with extremely limited permissions

i run a server on Ubuntu Server 14.04. I want to create a user that is able to connect via sftp, download 1 file and terminate the connection. The user should not be able to do ANYTHING else. Browsing ...
3
votes
1answer
9k views

Not able to configure SSH in Ubuntu 14.04 LTS

I downloaded and installed Ubuntu 14.04 LTS on my VM and found that SSH was not working. Tried following but nothing worked: sudo apt-get install ssh I see only openssh_client installed, I don't ...
0
votes
0answers
41 views

using ddclient with namecheap dns service doesn't update IP

I have just set up my first ever home server. I created root, made the IP static on my local network, installed openssh, and can now ssh into the computer as long as i am connected to my homes router. ...
1
vote
0answers
64 views

Installing Google 2 step Authentication causes SSH to not connect

I am following the instructions here https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-two-factor-authentication After making the changes listed to /etc/pam.d/sshd and ...
4
votes
3answers
1k views

SSH asks for password

I have already : Installed the server Generated the pub/pri keys with -P "" Copied the id_rsa.pub to authorized_keys ssh localhost > answered "yes", copied to known_hosts tried ssh localhost >> ...
0
votes
0answers
39 views

unwanted popup for passphrase

When connecting using ssh I am not asked for the key passphrase in the terminal but in a popup window. How can I switch to typing the phrase in the terminal? As this seems connected to the ...
0
votes
1answer
47 views

running python packages from user local directory

I'm on a Shared hosting, with a limited SSH access. don't have sudo privileges. And there are some limitations on some folders, as the following: This is the output of the termial ls -al : ...
1
vote
1answer
34 views

cat: id_pub.dsa: No such file or directory

I am trying to set up an MPI cluster, following Setting Up an MPICH2 Cluster in Ubuntu tutorial. However, in step 7, I execute: cat id_pub.dsa >> authorized_keys but I am getting: cat: ...
1
vote
1answer
119 views

Passwordless ssh error

I am trying to enable passwordless ssh for Hadoop 2.6.0. The method I tried is as follows: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys I also ...
17
votes
2answers
60k views

Connecting to Ubuntu server via SSH externally

I have recently installed Ubuntu Server 12.04 (Precise Pangolin) and intend to use it primarily as a file server. I am completely new to Linux, so this is a pretty big learning curve. Yesterday I was ...
7
votes
2answers
5k views

How can I configure dbus to allow ssh-user to suspend server?

I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit. While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to ...
13
votes
2answers
732 views

What is the Ubuntu equivalent of OSX `chmod -h` flag?

In OSX I can set the permissions of the symlink itself (instead of the thing it points to using the -h). From the man page: -h If the file is a symbolic link, change the mode of the link itself ...
0
votes
0answers
58 views

Port 22: connection refused

I am pretty new to Ubuntu so please if you can answer to this question explicitly. I have two laptops one is running on MAC OS X 10.8.5 (OS X Mountain Lion) and the other one running Ubuntu 14.04 LTS. ...
1
vote
1answer
54 views

Accidentally run command rm -R in Amazon EC2. Unable to login

I'm using Amazon EC2 for Magento website and WinScp to access SFTP. Sometimes I'm using terminal in WinScp to execute command. Today I need to delete some files so I used rm -R /* and forget to ...
1
vote
0answers
84 views

unlock kwallet at login

before plasma 5 I had my kwallet unlocked at login and it worked well (same password for kwallet as for my session). Now, with plasma 5, it does not work anymore, I think I'm not far from working ...
2
votes
0answers
97 views

Could not load host key: /etc/ssh/ssh_host_ed25519_key in /var/log/auth.log

I have an Ubuntu 14.04 instance running on AWS. I was browsing the auth logs (/var/log/auth.log*), and noticed the following line appearing: Could not load host key: /etc/ssh/ssh_host_ed25519_key ...
0
votes
0answers
49 views

I can't get ssh:// links to open in a simple index.html webpage

I want to have an ssh link open up on click. I am having students VNC to an Ubuntu VM for them to learn Linux on Cumulus Linux switches. I was reading this thread: How to change what xdg-open does ...
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 ...
54
votes
10answers
48k 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
157 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
74 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
45 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
28 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
203 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 ...
1
vote
1answer
256 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
26 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
65 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 ...
0
votes
0answers
35 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
0answers
36 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
31 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
52 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
75 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 ...
5
votes
2answers
2k 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
42 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
20 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
31 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
168 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
39 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 ...
0
votes
1answer
33 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
30 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
72 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
74 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
44 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
123 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
109 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
122 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
31k 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 ...