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 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 ...
0
votes
1answer
13 views

Execute command on remote machine using telnet in one line

I need to write a script to monitor wlan0 interface of my remote machine. I can do this by executing iwconfig wlan0 repeatedly on remote machine. But how to login to that machine and execute this ...
0
votes
0answers
15 views

ssh hangs when executed from Code

i am trying to log the RSSI value of wlan0 interface for a remote system. I run the following command to do that. sshpass -p <pwd> ssh <username>@<IP> iwconfig wlan0. I am executing ...
2
votes
1answer
57 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
80k 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
25 views

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

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?
23
votes
6answers
37k 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?
1
vote
1answer
58 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 ...
2
votes
2answers
8k 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
16 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. ...
0
votes
0answers
11 views

SSH with PAM Google

I have a server with Google Authenticator enabled. It worked fine, and one day I tried to login, and suddenly I'm not able to. Fortunately, I do have Ajenti installed with a terminal, so it's not a ...
1
vote
0answers
61 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 ...
0
votes
1answer
57 views

ssh keeps asking for a password

I am trying to set up an MPI cluster, following Setting Up an MPICH2 Cluster in Ubuntu tutorial. At the end of step 7, it says that I should not receive a password request, which unfortunately is not ...
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
35 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
25 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
72 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 ...
16
votes
2answers
57k 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
4k 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 ...
12
votes
2answers
690 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
42 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
40 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
29 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 ...
-1
votes
0answers
20 views

connecting ubuntu via ssh in azure cloud :bad file number port 22

I have successfully created virtual machine(ubuntu) in azure cloud,after that i am connecting it through ssh.For the first time its worked and i installed lampp stack an vsftpd on it.But now i will ...
1
vote
0answers
31 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
26 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
4k 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 ...
51
votes
10answers
44k 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
133 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
32 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
14 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
187 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
165 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
51 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
19 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
108 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
16 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
27 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
38 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
44 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
23 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 ...
1
vote
2answers
1k views

Ubuntu 14.04 keeps asking for passphrase when ssh

I have ubuntu 14.04 workstation installed in my LAB. Now I have issue with rsa key passphrase. Following are what I have in my LAB SVN server(12.04): I have svn server installed, anyone who want ...
0
votes
2answers
15 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 ...