SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

3
votes
1answer
61 views

How does SSH display the message “The authenticity of host .. can't be established”?

I wanted to trace down the system call used by ssh to output this warning message: > ssh root@abcde The authenticity of host .. can't be established. If the message were sent to stderr or ...
2
votes
3answers
71 views

How do I get ssh-agent to work in all terminals?

I have set up automatic (password less) ssh login to some servers using ssh-copy-id. ssh-agent works only from the terminal where it was run. How do I get ssh-add to work in all my terminals? ...
3
votes
3answers
170 views

Linux ssh launching GUI application and leaving it running?

I have ssh access to my own server with Ubuntu 13.10 on it installed. Via ssh I can launch GUI applications using this approach: $ ssh -X my_login@address_of_sever After that I can start any ...
2
votes
1answer
402 views

What audit log files are created in linux to track a users activities?

One of the machines on our networks was consuming a large amount of Internet bandwidth. However no user was using the system. When I connected to the server using SSH and ran who it showed that a ...
3
votes
4answers
325 views

Keeping a process running on server even SSH is closed [duplicate]

I am running long program on server, which is basically Jar file of java program. I want to keep this program running even if SSH terminal is closed, how I can keep this program running on server?
0
votes
2answers
158 views

SSH public key won't send to server

I've been struggling with this for a couple hours so any help is greatly appreciated... I have 2x servers both of which I can ssh to with public keys from OSX, no issues at all there so I'm certain ...
0
votes
1answer
47 views

Webserver-User has no Shell-Access but needs SSH-Keys or Permission change of directory?

First of all: English is NOT my mother-tongue, so please bear with me if something is not as clean as it should be. So, regarding my previous question and a possible solution I was advised to ask for ...
0
votes
1answer
131 views

SSH Login doesn't work using a key Without Password?

Agent admitted failure to sign using the key I'm working on centos6.5(32bit) and I have tried to ssh log in without Password Using ssh-keygen & ssh-copy-id? the steps that I have done: first I ...
1
vote
1answer
40 views

What's a good way to debug issues with X forwarding over ssh where just some applications won't run?

As far as I understand it, X forwarding is usually pretty simple. Once I can run some things like xeyes or gimp over ssh, complex applications like firefox/iceweasel should also be able to run. ...
0
votes
0answers
41 views

Google Compute Engine with multiple SSH users, Debian

I have managed to set up my server with a default user 'admin'. The sshKeys in the metadata is set with the following format, described in the google documentation. key: sshKeys value: ...
0
votes
3answers
92 views

SSH Agent-Forwarding works, but what about sudo -u username no shell/ permissions? composer

Working on a remote server (A) I want to use my local SSH-Keys to access a repository on another server (B) that is not controlled by me. Generally this works like a charm. I log in as myUsername ...
1
vote
0answers
43 views

Mount via SSHFS in NFS filesystem

As a student I have access to a cluster of teaching lab computers, at each of the machines all the home folders (including my) are mounted via NFS. I also have a desktop PC. I want to mount my home ...
1
vote
0answers
66 views

ssh-agent on CentOS 6.5 keeps “disabling” itself

I recently installed git on my CentOS 6.5 system. During the process I setup a key/pair for GitHub so I don't have to enter a password for every git process. I did this by adding the rsa file to ...
1
vote
0answers
59 views

What information is sent from client to the server when a SSH connection is established?

So let's say I'm on machine A and connect to machine B, and then from there I connect to machine C (with three different usernames). So the SSH connections are: A (john) --> B (eli) --> C(bill) ...
0
votes
2answers
64 views

run shell scripts in a sequencing way?

I have 4 shell scripts and I want to run them in a sequencing way: script1 -> script2 -> script3 ->script4 in a local machine can I ensure this by make the scripts executable and creating a new ...
1
vote
1answer
141 views

ssh script asks for password

a little ssh issue here. I set up some keys in ssh between 2 machines and I can login via ssh without password in terminal. I am trying to write a shell script that sends commands to the remote ...
1
vote
3answers
70 views

Execute script on Linux Mint from a Windows Machine

Basically I am trying to use Linux Mint to display Powerpoint presentations. The presentations will be updated on a Windows machine, the user will then execute a script which 'refreshes' the ...
1
vote
2answers
80 views

Why do my sshd logs show many trys on invalid ports?

My ssh daemon is setup to listen on port 2221. I have also disabled root login from ssh. I don't understand why in auth.log I have attempts to log on other ports (example with 4627 here). May 17 ...
2
votes
1answer
68 views

Linux motion user - run it as ssh key as pi to remote server

This question is related to the two other questions I had earlier, about enabling Raspberry Pi to act as a motion sensor that will try to ssh into a more powerful server when it detects motion (the ...
4
votes
3answers
178 views

Is it possible to get uid table in Linux?

I'm a student in a university and I can finger and id all users (students etc) through SSH. Here is the id command e147200@beluga:~$ id e201634 uid=22678(e201634) gid=3561(stat_bs) ...
1
vote
1answer
192 views

OpenELEC, non-root user, home directory, SSH

I'm running OpenELEC on Raspberry Pi As you know, directory /storage is a shared home folder between user root and user openelec This makes a problem when you want to setup ssh key authentication for ...
6
votes
1answer
109 views

Waiting until SSH tunnel (ssh -w) is set up before running command

When using SSH VPN tunnelling (-w option), is there a way to know when the tunnel is actually up? I want to use this in a script that automatically sets up the tunnel by running ssh -w then running ...
2
votes
3answers
1k views

bash: /home/user/.ssh/authorized_keys: No such file or directory

Create a ssh key: $ ssh-keygen -t rsa –P "" Moving the key to authorized key: $ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys bash: /home/user/.ssh/authorized_keys: No such file ...
2
votes
1answer
40 views

How do I find out what my ssh-key's finger print is?

I ask someone for their public key, and add it to my server. When they connect to the server for the first time, they will get the standard message in the form The authenticity of host '[host]' ...
1
vote
2answers
79 views

How can I access a linux box at home in my browser at work? [duplicate]

I want to be able to use taskwarrior at work. But the computers at work don't allow me to install anything, they all run Win XP, and IE... So, I would like to somehow SSH to a linux box at home, and ...
5
votes
1answer
157 views

delay to get password prompt when ssh'ing to a public server

i have a server (debian 7) setup in my university with public ip. when I ssh into the system (from outside the campus), I get a weird delay of 5-10 seconds before I get the password prompt. Why is ...
1
vote
2answers
100 views

Does dropbear take care of hosts.allow and hosts.deny?

I'm running dropbear as SSH daemon on Debian (actually Raspbian). I tried setting # /etc/hosts.allow dropbear:192.168.1.1 # my static ip from which I SSH connect to the device and # ...
1
vote
1answer
60 views

What is the maximum length of an ssh-banner message?

It seems that if the banner message is longer than a certain limit, no banner at all will be displayed to the client. What is either the character or file size limit?
2
votes
3answers
143 views

parallel-ssh with Passphrase Protected SSH Key

I'd like to use my passphrase protected SSH key when performing tasks with parallel-ssh (and related tools). However, I can't get this to work. All the documentation, regarding parallel-ssh, show ...
1
vote
1answer
4k views

ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)

I'm not using hosts.allow or hosts.deny, further more SSH works from my windows-machine (same laptop, different hard drive) but not my Linux machine. ssh -vvv root@host -p port gives: OpenSSH_6.6, ...
1
vote
1answer
115 views

problem with unique ssh public/private key pair on second user

I have created an ssh key pair using ssh-keygen -t rsa for my main user and everything seems to be working well. Password login has been disabled. I have a second user that I am trying to create a ...
2
votes
1answer
303 views

Change IP remotely over ssh

I am using CentOS. I have a management server which has password-less ssh access to four other servers. I don't have physical access to these servers. In other words, I have to make all ...
6
votes
1answer
63 views

Ssh audio redirection

I have DVB-T USB dongle plugged into my Linux server (GUI-less). It works correctly, but I want to stream TV programs from server to my PC. For this I use Kaffeine that way: ssh -X -p 666 -i ...
0
votes
4answers
217 views

Why does this shell script fail in bash, but the commands work in SSH?

I'll first admit to being quite the noob in Linux/SSH/etc. What I'm trying to write is a shell script that will back up a website and all the MySQL DBs that support it. I found examples all over the ...
1
vote
1answer
58 views

Unable to SSH into Google Cloud Server after Reboot

I was learning to configure a Debian server and familiarising myself with the common command lines. However, after executing the reboot command in SSH, my subsequent SSH connections were refused and ...
1
vote
2answers
65 views

ssh-agent not adding key when started graphically

Recently I added the following script to my auto-start (in KDE): eval `ssh-agent` ssh-add The script should be started at login and ask for my passphrase and load my secret key. It does almost ...
1
vote
2answers
96 views

Passwordless ssh login not with disabled direct console root login

We have the centralized server which has passwordless SSH configured to access other Linux servers within our environment. The issue we are facing is that when we disable root direct console access ...
2
votes
2answers
235 views

Disable SSH password authentication on specific interface

I have an OpenWrt router, I want to disable password authentication on SSH, so that one can only authenticate with keys. This is easily achieved by following the guide in the documentation, however, I ...
1
vote
1answer
38 views

Can I switch to another process in another tty# terminal from an ssh terminal?

Here's the deal. I have a Linux Mint 15 server running a web server, an ssh server, and a minecraft server. When I go back to college after the summer, I want to leave my machine at home (6 hrs away) ...
0
votes
1answer
82 views

X11 forwarding over ssh

I used to log into a remote server on our corporate network using Xephyr and ssh using the following command Xephyr :0 -ac -br -screen 950x540 | xterm -bg black -fg white -display :0 -e ssh -Yf ...
2
votes
0answers
91 views

Can I ssh to a server through a pptp tunnel? [closed]

I'm new to VPNs, so there's a good chance I'm completely misunderstanding my needs here. My workplace is setup so that I can only ssh into its servers when either (a) I'm using a computer in the ...
3
votes
1answer
113 views

Adding public is_rsa.pub to known_hosts automatically - how to?

How to automatically add server to known_hosts ? (and not use md5 fingerprint, as I mean secure way, please not send "auto yes/accept" solutions. I want to bring required credentials from server to ...
0
votes
1answer
47 views

git, setting up remote repository without ssh

I want to set up a remote git repository on a openSuse machine, and I have the following question. Do I really need ssh on the machine, to set up the remote git repository? Initially is it possible ...
0
votes
1answer
39 views

Can I use `screen` to keep an ssh tunnel alive from the client?

I read here that you can keep your ssh sessions alive a bit longer using a utility called GNU screen. Is it possible to keep an SSH tunnel alive longer with this as well?
1
vote
4answers
61 views

Allow guest SSH login and redirect to a program

Sometimes I get really silly ideas. This time, the idea is to deliver an easter egg for anyone who decides to try and connect to my server via SSH. Doing so will run a program, such as easteregg.sh, ...
2
votes
1answer
181 views

Generate own (stronger) RSA host key for OpenSSH?

I would like to replace the default 2048 bit host key generated when installing OpenSSH or starting it the first time with one of 4096 bit length. This leads to two questions: Does OpenSSH allow ...
3
votes
1answer
54 views

What is the best way to create remote tunnel?

I have 3 Linux servers: 10.0.0.0/24 - (10.0.0.10) Linux server inside my LAN. 20.0.0.0/24 - (20.0.0.10) Linux server with HTTP Apache server 50.50.50.50/32 - Server on Amazon AWS which see ...
0
votes
0answers
63 views

Lazy mount of remote filesystem (with sshfs)

I have a remote computer, and I mount its filesystem with sshfs to my local folder ~/user@host, like that: sshfs user@host: ~/user@host Works nice, but I want to implement "lazy" mount: i.e. I ...
2
votes
1answer
1k views

channel 1: open failed: administratively prohibited: open failed

I am trying to set up an SSH tunnel (on a Raspberry Pi) with the following command: ssh user@terbank.cs.kuleuven.be -L 5672:tabor.cs.kotnet.leuven.be:5672 -N (I should note that I can, or at least ...
3
votes
2answers
318 views

Automating backups run from a bash script in Linux the right way

I have a bash script I wrote to backup a Moodle installation. It works fine, I've tested the backups, but there's a problem with it; when I do the backups, since I have to use sudo to type the ...