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
10 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 ...
1
vote
1answer
17 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: ...
2
votes
1answer
43 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 ...
1
vote
1answer
52 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
58k 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 ...
9
votes
2answers
574 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
37 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
37 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
19 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
16 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
17 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
20 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 ...
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
131 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 ...
1
vote
1answer
39 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 ...
0
votes
2answers
28 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
35 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
13 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
0answers
10 views

Linux VPS - OS X SSH Tunnel / SOCKS Proxy works but cannot get to work in Windows [closed]

I setup an ssh tunnel to my ubuntu VPS from an OS X machine like this: ssh -p 12345 -N -D 9999 root@128.222.222.222 password: * etc. I have tried to follow many a guide on how to use either putty ...
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 ...
-1
votes
1answer
30 views

setting up a SSHserver [closed]

Could anyone explain me the configuration for a SSH server. I am new to administration so not fully aware of the options available at the config. My purpose here is to create a SSH server. And what I ...
0
votes
1answer
155 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
22 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
46 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
17 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
14 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
26 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
36 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
38 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
21 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
0answers
28 views

Send text from remote ssh to login screen [closed]

I've a Ubuntu machine which runs 15.04 unity desktop environment. I've successfully set up remote ssh using openssh. I want to remotely start graphical applications (on the remote machine) which I do ...
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
12 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
44 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
31 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
28 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
12 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
56 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
70 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
32 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
78 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
86 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 ...