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

learn more… | top users | synonyms (1)

30
votes
2answers
31k 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
73k 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
3k 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
83 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
67 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
371 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
87 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
33 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
31 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
53 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
26k 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
33 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
25 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
19 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; ...
14
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
18 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
34 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
46 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
43 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
50 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
60 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
23 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
53 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
112k 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
65 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
20 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
10 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
141 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
62 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
8 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
35 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
25 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
226 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
39 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
47k 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
1k 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 ...
0
votes
1answer
128 views

MOTD displaying content of /etc/motd generated at boot / previous login

I have an Ubuntu server running at sandbox.plushu.org - if you add your key at http://enter.sandbox.plushu.org, you can connect to the server as root@sandbox.plushu.org. You can reset the server by ...
0
votes
0answers
38 views

Setting up ssh - windows to ubuntu

I have the following environment: Windows deskside system running W7Pro ubuntu 14.04 server running on a cloud server. I have tried multiple ways to set up RSA keys for ssh connections, with no ...
0
votes
1answer
82 views

SSH Connexion configuration

I'm managing a several servers which are in Linux. I will have others administrators who will need access to those servers in order to administrate them. So I would like to have a sort of ssh bastion ...
1
vote
0answers
109 views

SFTP/SSH Not Working in Ubuntu Touch

It was working before but now it stopped working. Even in Ubuntu SDK I can't run my application directly to my device...though I'm not sure they are related. The error is: Command: open ...
0
votes
0answers
59 views

ubuntu vm on open nebula doesn't se internet connection

I have some problem with ubuntu and open nebula. I'm trying to setup one installation of ubuntu on open nebula. Start from this assumption: my machine as an i7 with 16 GB of ram and runs ubuntu ...
13
votes
4answers
9k views

How do I set up an email alert when a ssh login is successful?

Does anyone have a bash script that will email or notify someone in the case of a successful login to a ssh server? I want to be notified if anyone logs into my personal box. I'm using Ubuntu 12.04 ...
1
vote
2answers
35 views

How can I prevent being locked out after changing the iptables default policy?

I am working on a experiment when I (client) ssh a gateway and run sudo iptables --policy INPUT DROPthen the gateway doesn't accept any communucation(or input) from my client. By running sudo iptables ...
0
votes
1answer
47 views

OpenSSH: hacked before set up?

Today I tried setting up OpenSSH on my computer with the hope of being able to connect to it from a different computer at work. This was my first time attempting to use open-ssh. I did the following ...
0
votes
0answers
20 views

ssh tunneling to Fritz!Box via RaspberryPi

I have a Fritz!Box that acts as NAS, DHCP and internet gateway. The webinterface of the Fritz!Box is only accessible from the LAN (I'd like to keep it that way, although it could be changed). Can I ...
4
votes
1answer
61 views

Way of receiving alerts on login attempts, whether successful or not?

I believe my linux machine to be reasonably protected from external login. But since I am mildy paranoid, I would like to be alerted when there is a login attempt made to the server, whether ...