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

learn more… | top users | synonyms

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
221 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
295 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
756 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
129 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
299 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
323 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
3k 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
2k 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
357 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
101 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
29 views

Error “Can't assign requested address” when ssh-ing to remote server

On ubuntu 14.04 I have installed openssh, changed the ssh port. I can login within LAN with no problems, but I cannot access it from outside. I also have: allowed it though firewall and set up port ...
1
vote
0answers
91 views

CentOS 7 - ssh login is refused when i use ssh public key, but only works with username password

I am not able to login via SSH key. I place my id_rsa.pub key in the /root/.ssh/authorized_keys [root@s .ssh]# ll total 4 -rw------- 1 root root 403 Jun 8 00:44 authorized_keys [root@s ~]# cat ...
1
vote
0answers
10 views

GUI SELinux security alert window don't shows up?

I created an error I broke ssh service on my system to see why security context must be properly configured. I used next commands: # service sshd stop # chcon --reference /root/anaconda-ks.cfg ...
1
vote
0answers
90 views

SSD installed, but shows as HDD in command output

Strange issue here. I have a 480GB SSD drive installed in this server. I installed it myself. I see it, it's there. But, I'm getting an incorrect output on a typically used command to determine if ...
1
vote
0answers
22 views

OpenSSH Server as Tor Hidden Service

What exactly is considered best practice when setting up an open SSH server as a Tor hidden service? I do it this way, but I feel like there's a better way of doing this: I just set SSH up as a ...
1
vote
0answers
61 views

Easy way to compare BIOS information between two machines?

I have two machines - machineA and machineB running Ubuntu 12.04 Is there any easy way I can compare BIOS settings between those two machine and see the difference instead of doing it manually using ...
1
vote
0answers
31 views

Scale ssh forwarded graphical interface

I am running gnome on top of archlinux on a samsung ultrabook which display is hidpi. Gnome supports hidpi quite well actually, and apart some applications that ignore the system font settings or the ...
1
vote
0answers
102 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
122 views

SSH: Permission denied, please try again

I need to connect to a server and don't know whats going on: me@pc:~$ ssh -v server OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /home/me/.ssh/config debug1: ...
1
vote
0answers
51 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
28 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
25 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
769 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
48 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
52 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
152 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
76 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
39 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
40 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
63 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
78 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
42 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
56 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
100 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
222 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
161 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
42 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
129 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
96 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
261 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
166 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
292 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
54 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
113 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
49 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?