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

learn more… | top users | synonyms

2
votes
0answers
1k views

Can't Install ImageMagick on Centos using Yum

I am trying to install ImageMagick on my dedicated-virtual Centos server for use with PHP. I first ran the following commands successfully: # yum install gcc php-devel php-pear # yum install ...
2
votes
0answers
33 views

Mount a workstation dir upon login to server over ssh

I'd like to have a local directory be mounted upon logging into a remote server via SSH. So if I were to ssh into foo.bar.com as user baz then there would be a directory mounted in /home/baz/roaming - ...
2
votes
0answers
207 views

SSH login from external authentication

Here is what I try to accomplish: I have a server with a git repository. I use ISPConfig as control panel for our websites and I want to integrate the ISPConfig API for email authentication as second ...
2
votes
0answers
270 views

Why is my /etc/hosts.deny file being ignored?

I am using a small embedded linux setup generated by buildroot to run on a x86 device. It was generated to use busybox init system and also runs dropbear so I can ssh into the device. I wanted to ...
2
votes
0answers
730 views

Get screenshots of a Linux machine that I connect to remotely with PuTTY

My setup is this, I connected my Cent box via PuTTY on windows 7, I've Xming and using X11forwarding to have GNOME in windows. Now when I did gnome-screenshot in putty, I cannot have the CentOS ...
2
votes
0answers
122 views

SSH + Certificate Authority server?

Is it possible to setup SSH (via pam for instance) to check the public key of the connecting client against a CA server? I've tried with gnupg (via gpg-agent --daemon --enable-ssh-support) and also ...
2
votes
0answers
182 views

Let remote ssh session know about tmux?

Assume I run a tmux session on machine A and from it I start an interactive shell via ssh to machine B. I'd like to change machine B's PS1 to better suit the use from under tmux; for instance, I'd ...
2
votes
0answers
297 views

Webmin alternative that installs & runs on the client machine & communicate via SSH

Are there any Webmin alternatives that don't consume server resources but instead install on client machine & communicate via SSH client. So effectively all the actions made on that GUI are ...
2
votes
0answers
309 views

Mint changes default route when eth0 comes back and breaks existing tcp connections

I have two interfaces on my laptop (eth0, wlan0). lets say I am moving away from desk and connecting to an internal network A using openvpn software which uses wlan0 as gateway. I then ssh to a few ...
2
votes
0answers
2k views

ssh-agent not getting set up (SSH_AUTH_SOCK, SSH_AGENT_PID env vars not set)

I set up a new user account for a friend on Kubuntu 12.04. When he uses ssh he gets this error: Could not open a connection to your authentication agent We're running ssh in some bash scripts. ...
2
votes
0answers
1k views

How to run ssh -t user@remote 'sudo nohup bash -c “comand”' in background

I want to run a script on a remote host with sudo privilege, someone suggests that I should use nohup and ssh -t, like the following command: The script ls; sleep 10; echo finish is crafted here to ...
2
votes
0answers
82 views

Why isn't hydra being disconnected?

I have SSHD running on port 5800 on some machine. (It is a my machine at home.) If I run this manually in a terminal: # ssh someIP -p 5800 The connection is lost because I am disconnected after 3 ...
2
votes
0answers
352 views

Making ChrootDirectory directory writable by SFTP user

If a user logs into a machine via SFTP, one can make use of ChrootDirectory keyword to give an illusion that user is in a root directory. But that directory is only writable by root user. I would love ...
2
votes
0answers
100 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
1k views

How to set ssh access for user on debian?

I set groups: usermod -G ssh username and then I've checked account info: id username the result is: uid=1000(username) gid=1001(username) groups=100(username) Anyway if I try to login using ...
2
votes
0answers
119 views

Why do I get a different RSA fingerprint when multihopping using ProxyCommand

I'm using the following config to connect to multihop to the target host (gw2 and target have my public key stored in the authorized_keys file ; no netcat on all systems): Host gw1 HostName ...
1
vote
0answers
27 views

Error running startx on CentOS via SSH

Whenever I attempt to run startx on a system I have SSHed into, I get the following output: xauth: creating new authority file /root/.serverauth.6604 X.Org X Server 1.15.0 Release Date: ...
1
vote
0answers
20 views

Lsyncd not working on Mac 10.9

I'm attempting to use lsyncd to automatically move files to my local development server. My host is OSX 10.9. SSH on the server works. I can connect using ssh from the host. I am using an SSH key to ...
1
vote
0answers
36 views

Backing up VPS via SSH/SFTP

I'm going to perform some maintenance on my VPS (Ubuntu Server 15.04), and I would like to back up some files before doing so. The problem is that some of these files are under other users' home ...
1
vote
0answers
22 views

Correctly closing multiple hop SSH tunnel

I want to tunnel VNC traffic to host2, which is only accessible from host1, whereas host1 is publicly accessible. I setup a multi-hop SSH tunnel as described in this question, using: ssh -L ...
1
vote
0answers
20 views

Run ssh-agent 24/7 using keychain?

I have a Node.js script that requires ssh-agent to be running 24/7 on my Ubuntu server. I installed keychain and put eval 'keychain --eval id_rsa into my ~/.bash_profile, but that only runs when I ssh ...
1
vote
0answers
300 views

ssh does not get host key

I have a PivosXios-DS-M3 XBMC-Box, wich run xbmc12 until yesterday. All my desktops run Archlinux. Yesterday, I did a fresh install of tofu-linux to the Pivos-box (Kodi 14.1). Thus, on my arch ...
1
vote
0answers
37 views

ssh x11 forwarding drag-and-drop

Is it possible to drag-n-drop into x11 forwarded application? For instance, I'm forwarding skype and I'd like to send a file by dropping it into message box. Yes, I know I can work it around. This ...
1
vote
0answers
38 views

SFTP connect through an other server

I want to connect to my account in a server of my university. When I’m there I only have to do ssh user@FinalServer/home/user or create a folder using sftp://user@FinalServer/home/user But the ...
1
vote
0answers
132 views

SSH Connection closed by remote server for one client but no problem with others!

I have a remote server and I was able to connect via ssh to it but some they I could not any more! I ssh to server with my laptop and my android phone but from some day every time I am trying and the ...
1
vote
0answers
57 views

Persistent SSH port forward without public keys

Problem I haven't found a solution to run an SSH port forward in a reliable and persistent fashion, when the server you are connecting to does not support public-key authentication. Question What ...
1
vote
0answers
10 views

pannel applet wont spawn process

I am using Mate, with debian8, an this has never not worked, so I'm confused now. I have a custom applet (launcher), which reads: ssh user@ip When clicked it does nothing, ordinarily a terminal is ...
1
vote
0answers
37 views

Different Commands on Multiple Servers

I want to execute different commands on different servers. Server addresses are in a text file. Commands are the same except a parameter related to their addresses. For example: ./run0 on the first ...
1
vote
0answers
36 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
1
vote
0answers
102 views

Setup SSH tunnel on existing connection from script

I want to establish an SSH tunnel on an existing connection. The tricky part is doing it from a script (a custom shell I need to allow users only some specific things, like setting up this tunnel). ...
1
vote
0answers
55 views

Restrict SSH access to git usage only

Using: ssh-keygen -O force-command="/bin/restricted-command", or command="/bin/restricted-command" at the beginning of an authorized_keys line one can force a key-based SSH connection to execute ...
1
vote
0answers
71 views

Xorg: Connect remote display

I'd like to use laptop's monitor as second display for my main Debian workstation. I need exactly second monitor, but not Debian's X11 on laptop.
1
vote
0answers
37 views

How do I correctly configure Danted?

I have a debian droplet on digital ocean that I'm trying to get danted to work on. I know I have the right username and password and I want to set up a socks5 proxy with auth. Maxathon gives me a 130 ...
1
vote
0answers
50 views

Using Rsync to SSH and Find files

Hello I am trying to use Rsync to SSH into a remote server and pull a certain type of file that has been modified within the last 24 hours. Here is what I am trying: rsync -avx --timeout=480 ...
1
vote
0answers
84 views

ssh not using ~/.ssh/config, even after I play around with permissions

I tried modifying my ~/.ssh/config file to allow automatic fast X forwarding as per this site http://xmodulo.com/how-to-speed-up-x11-forwarding-in-ssh.html I then tried logging into a server and ...
1
vote
0answers
172 views

openssh-server doesn't start in Docker container

I am having a weird problem. I am not able to ssh to docker container having ip address 172.17.0.61. I am getting following error: $ ssh 172.17.0.61 ssh: connect to host 172.17.0.61 port 22: ...
1
vote
0answers
143 views

Why does having cron run a remote command over ssh on a Cisco router get interrupted?

I have been tasked with making sure that if a particular server at work dies, we know about it right away. Because I'm not there (no one is really), I have written a script to run on my home router ...
1
vote
0answers
39 views

Mosh and terminal multiplexing

Reading this Q&A on the site: Can I re-attach to a mosh session? made me wonder about the use cases for mosh. Say I start tmux on my local client, and then mosh to a remote host from within ...
1
vote
0answers
117 views

SSHD_CONFIG keeps corrupting on reverse SSH setup

I have a reverse SSH setup to traverse an impenetrable CGN NAT. It works well, but the SSHD daemon on the client behind the NAT keeps dieing for unknown reasons (fails to start-up). The client ...
1
vote
0answers
80 views

Streaming Qt over ssh

I am trying to stream a program over ssh and it doesn't work. It is written in qml and I've already compiled it, but qmlscene doesn't work either (doesn't matter what file). The error I'm getting is ...
1
vote
0answers
237 views

GLX extension missing on display “localhost:10.0”

I have installed scilab 5.5.1 on rocks based cluster(with GPU card & nvidia driver installed), and i am able to successfully use scilab on the same . Issue arises when i need to use scilab from a ...
1
vote
0answers
151 views

User Acces restrict to only one folder

I am trying to establsih SFTP User rights at a server to only one folder, following the guidelines here: ...
1
vote
0answers
245 views

How to add PuTTY private key to OpenSSH client

I am trying to setup scp on a new Ubuntu 14.04 system. This system will act as an SSH client to an already configured SSH server on another Ubuntu 14.04 system. I can use putty to SSH into the ...
1
vote
0answers
50 views

Giving a user SFTP access only with access to subdirectory outside of home?

I have user [USER A] account which contains scripts and a downloads folder. I would like to create a new account [USER B] so that the user has read/write (SFTP and not full SSH) access to their home ...
1
vote
0answers
105 views

SSH broken when connected to VPN upon upgrading from Ubuntu 13.04 to 14.04

I need to SSH into a server which is only accessible when I am connected to a VPN (PPTP). Using my Ubuntu 13.03 virtual machine, this works perfectly. First I connect to the VPN, then I ssh into the ...
1
vote
0answers
46 views

Is it possible to make a symbolic link of a file in other machine?

I have a account in a server and I would like have a symbolic link of some files in my local machine. How can I do this?
1
vote
0answers
39 views

Is it safe to disable password for a user, if it only uses SSH key login?

We want to remove the password usage on a UNIX system. The users should only log in with SSH key. Not password. So their password field in the /etc/shadow file will be "*" and set their password to ...
1
vote
0answers
286 views

Cannot SSH after switching to Netgear router

I have Comcast Xfinity internet. When I was sent their Wifi router/Cable modem combo box, I was able to use SSH perfectly. However, since the Wifi from the box was weak, I decided to buy my own ...
1
vote
0answers
634 views

Load a background image or set the background color if Konsole/Shell is running SSH

I want to set my laptop to load an image in the shell's background or set the background color to red if I'm connected via SSH. How can this be done? With a bash function in .bashrc? I have: Set the ...
1
vote
0answers
81 views

xvfb-run aborting on cluster

I'm trying to run a python script with xvfb-run on a cluster using SLURM; when I use an interactive session (srun) it works fine, but when submitting to a queue (sbatch) it aborts/fails without much ...