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
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
37 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
15k 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
130 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
16k 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
11 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
2answers
830 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 ...
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 ...
4
votes
2answers
3k views

How to avoid typing ssh-add everytime

I read and followed some online documentation on how to set up a ssh-agent so that I don't need to type in password every time I ssh to a remote machine. However, with the help of ssh-agent, I still ...
26
votes
2answers
30k views

How to create a restricted SSH user for port forwarding?

ændrük suggested a reverse connection for getting an easy SSH connection with someone else (for remote help). For that to work, an additional user is needed to accept the connection. This user needs ...
64
votes
10answers
72k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
0
votes
1answer
2k 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 ...
41
votes
10answers
25k 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 does to secure their ...
-1
votes
1answer
35 views

“Error: cannot open display: :0.0” while starting remotelly Firefox

On my ubuntu 14.04 remote server, when I try to start Mozilla Firefox 32.0 from terminal, it through error as follow: $ firefox (process:6397): GLib-CRITICAL **: g_slice_set_config: assertion ...
1
vote
1answer
4k views

Why does the host key verification fail in “connect to server” utility?

I am able to use ssh from terminal but I am not able to use it from "connect to Server.." utility. it is showing the error in the dialog box as below: Cannot display location ...
4
votes
1answer
47 views

How to automatically opening terminal windows & tabs, ssh and sudo su?

When I start my day in front of my computer, I first have to do the following: In workspace 1: Open a new terminal window, ssh loginserver, then ssh serverA1 and sudo su account00 Open a new ...
0
votes
1answer
140 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
63 views

/dev/mem: mmap: Operation not permitted: Using dmidecode

I am trying to get my BIOS firmware version, and memory info using dmidecode. I am connected to the server through ssh as a root user. We recently just started moving our servers from Debian 6.0, to ...
0
votes
1answer
26 views

Preview .html file from remote AWS EC2 instance on local machine's browser

From this and this I've gathered that I should ssh into my ec2 instance from my Mac by: ssh -C -c blowfish -X -i user.pem user@hostname.com This accomplishes X11 forwarding. Afterwards, how do ...
6
votes
2answers
3k views

Why does gnome-terminal freeze when an SSH session gets disconnected?

This is a very simple problem. I use gnome-terminal to SSH to other machines every day. I do this on a laptop which I carry around the office, so I am constantly switching between wired and wireless ...
0
votes
0answers
19 views

ssh connection time out ubunto 14.04

I get connection timeout after ssh hnname So I try the follow: netstat -nltp - I see that there is no process listen on port 22 sudo service ssh restart - I see that there is no process listen on ...
1
vote
1answer
47 views

Web Server is Down, only have SSH access [closed]

My Ubuntu web server is down and my client is going nuts!! Unfortunately I cannot get hold of the guy that manages all our servers. I do have full SSH access, but can only get this far: User:~ me$ ...
7
votes
3answers
25k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
0
votes
2answers
29 views

Restart process and direct it to right display via ssh

I am using XBMC as the primary media player in my home, and it is great. The one problem I have is that it sometimes -- not often, but sometimes -- crashes or freezes up. For me, that is no problem, ...
1
vote
1answer
18 views

How to run Mathematica on remote server

I am using Ubuntu 14.04 and have connected to a remote server using SSH. I would like to run Mathematica 8 which is installed on the server. When I type mathematica in the terminal, it says Can't open ...
0
votes
0answers
16 views

ssh login on virtual server fails: account expired, LDAP authorization failed

I have a user account on a virtual server, running Ubuntu 10.04.4 LTS. When I try to login via ssh I get an error message: $ ssh myuser@myserver myuser@myserver's password: Your account has expired; ...
13
votes
9answers
29k views

Server keeps asking for password after I've copied my SSH Public Key to authorized_keys

I have an Ubuntu Server, running in a Cloud. I created a user (git). In the folder /home/git, I have created the .ssh/ dir, and the authorized_keys file. But, when I put my SSH Public Key in the ...
1
vote
1answer
14 views

What happens when I try to run firefox on a remote server from my local machine

I am connecting to a remote server through putty. whereis firefox shows that Firefox is installed on the remote machine. Now, I want to know what is going to happen when I run firefox. Normally, if ...
4
votes
2answers
1k views

Why does X-forwarding firefox take so long?

I ssh -X from Ubuntu to an Ubuntu Server, on which I've installed X, x11-apps and Firefox. Running xeyes shows the eyes, so I know that the X forwarding works. But when I try firefox, nothing happens: ...
1
vote
0answers
17 views

Passwordless ssh not working?

I set up passwordless ssh between my Ubuntu 14.04 desktop laptop and my server running Ubuntu Server 14.04. It was all working. Then, I rebooted my server, and after that it stopped working. I tried ...
3
votes
1answer
33 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 ...
0
votes
2answers
26 views

sshd daemon not running ubuntu 12.04

The sshd daemon is not running on my machine (Ubuntu 12.04). I have repeatedly re-installed the openssh server and rebooted. I get no output to this command: ps -A | grep sshd Any help would be ...
3
votes
1answer
43 views

Which script actually does automatic suspend of machine?

Which particular script is activated upon inactivity of the system? How does the script know that system has been inactive for the configured duration? I need the script, so that I can check if ...
0
votes
0answers
33 views

how to remotely control Ubuntu 14.04 via SSH

I have (indirect) SSH access to the machine and a user is currently logged in physically. I want to get access to the physical screen. How? There are many related question, but none really help me: ...
1
vote
0answers
20 views

Is it possible to forward Windows… windows into Linux? (Like unity/seamless or xypher)

If this is a "bad question" or otherwise something you mods want to close... please at least direct me somewhere that could answer it, because that kind of thing happens to me a lot and I end up ...
0
votes
0answers
28 views

can't access kippo-graph

I have made an instance in AWS with Ubuntu Server 14.04/ 64bit as the OS I installed Kippo and kippo-graph following this tutorial http://bruteforce.gr/installing-kippo-ssh-honeypot-on-ubuntu.html ...
27
votes
5answers
109k views

Adding SSH Keys to Authorized_Keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...
3
votes
1answer
49 views

How to configure SSH username and pass on Ubuntu server 14.04.1

I am trying to remotely administer my server using SSH. I believe SSH comes installed default, I just need to know how to configure username and password.
0
votes
0answers
15 views

Ubuntu 12.04: pam_motd sometimes displays only partial MOTD

This isn't a very big deal but it really irritates me somehow. We have a large number of machines running Ubuntu 12.04 (server/amd64) which i frequently ssh into. We have the standard set-up for this ...
0
votes
0answers
8 views

pastebinit gives me the wrong URL when logged in a Vagrant Box

When I try to paste a certain file with pastebinit, I get the URL of the website, instead of the URL of the specific paste I wanted. I want to stress that this does not happen with all files... Here ...
1
vote
0answers
76 views

SSH into Ubuntu server (14.04.1) Using mac terminal (os version 10.9.4)?

I am having difficulty connecting remotely to the ubuntu server from the mac terminal. So far I have run: sudo apt-get install openssh-server when I try to connect via the ip address I get an ...
0
votes
1answer
42 views

Script that ssh to remote host enters pass and executes a command?

Is it possible to make a script that ssh to remote host, enters the passwords to log-in and then executes at least 1 command on the remote machine?
0
votes
0answers
4 views

Remote access times out after update

Here is the situation: I have a MacBook which I use for all of my development and an Ubuntu server running a LAMP stack for my website. I've only had Linux anything for a few days so please bear with ...
1
vote
1answer
28 views

Problem connecting to ssh server that is behind another ssh server in nautilus

So I have this school server that I am trying to connect to via nautilus. In terminal it's all easy but I want to be able to open it also in nautilus. In terminal my way of doing it looks like this: ...
0
votes
0answers
23 views

Asked for password when shutting down

Today I came across a situation that I haven't encountered before. I tried to shutdown my laptop and it prompted me for my password I'm running Ubuntu 14.04 and haven't had this happen to me for the ...
0
votes
2answers
185 views

ERROR: when start hadoop

I am installed Hadoop, following Michael noll's tutorial. When I start name node using as following command, hduser@ARUL-PC:/usr/local/hadoop$ sbin/start-all.sh I got response as, This script is ...
0
votes
1answer
27 views

Accessing Ubuntu-based VPS from my Ubuntu 14.04 LTS PC

I just installed Ubuntu 14.04 on my PC alongside Windows 8.1. My problem is, I want to connect to my Ubuntu VPS using my Ubuntu PC but it's not working. I tried ssh root@vps-ip-add but nothing ...
47
votes
2answers
45k views

How do I keep track of failed SSH log-in attempts?

I'd like to see if somebody has been trying to log-in by brute-force into my Ubuntu 12.04 server over SSH. How can I see if such activities have been taking place?
0
votes
1answer
893 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 ...