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

learn more… | top users | synonyms

2
votes
1answer
147 views

Share X11 with remote server where X11 are not installed

I need a GUI on a remote server to which I have an ssh connection. Is it possible to share my X11 window system with it given that there's no X11 installed on the server?
2
votes
2answers
271 views

Interesting Secure Copy Behavior

I'm not entirely sure where to ask this question, so if this is not the right place just let me know and I'll move it. Today I was trying to using recursive scp to copy a directory between two Linux ...
2
votes
3answers
1k views

Limited SSH user on Ubuntu 12

I'm running Minecraft on a server. How can I give my friend SSH access just to the minecraft folder (a root folder), the screen command, and some ports?
2
votes
2answers
5k views

Undo `mv` command? [duplicate]

Possible Duplicate: Moved bin and other folders! How to get them back? Hi I'm in desperate need of help. I'm quite new to linux so please bear with my stupidity! I entered the following ...
2
votes
1answer
643 views

Remote SSH user always gets “connection closed”

I've tried service sshd restart, I've added sshd:all:allow to my /etc/allow.hosts and the remote user tried rm ~/.ssh/known_hosts. I also checked the logs: cat /var/logs/secure | grep ssh and it says ...
2
votes
1answer
515 views

Setting up a user for sftp acces into a sub directory of another users home directory

An interesting problem. The broader goal is to setup a directory that one of our clients can sftp into (via ssh keys, not user/pass combination) and upload files. This directory will need to be ...
2
votes
2answers
1k views

log remote X session from ssh (PuTTY)

I've googled alot about this and can't find a way to do this (or if it's even possible) I want to log a user on a remote machine in his X session (Gnome) from a ssh in a windows machine with PuTTY. ...
2
votes
1answer
3k views

Headless Debian Server + Windows Clients + X11 Forwarding

I have a headless debian server that I SSH into regularly. I want to know set it up so that users can ssh in and then run something like iceweasel, and a window will popup on their machine which is ...
2
votes
2answers
2k views

Web access through a remote proxy accessed over SSH

I'm browsing the web on a client PC running Windows or Linux. I want to browse a website (http://access.lan:52050//cgi-bin/login.cgi) which is not directly accessible from my PC. I can browse the ...
2
votes
2answers
2k views

Fedora 16 ssh over the internet/home network help. Same computer ok

I first posted this on serverfault, but this forum seem to be more appropriate. http://serverfault.com/questions/345471/fedora-16-ssh-over-the-internet-home-network-help-same-computer-ok I think I ...
2
votes
1answer
882 views

.ssh/config way to spectify pseudo-tty allocation and command execution (like screen)

Is there any way to specify, in .ssh/config, a command like: ssh -t remote-host "screen -dR screen_name" so I can easily access the remote screen session with ssh remote-host? Right now I solved ...
2
votes
1answer
426 views

change sftp to ftp

I recently installed a CentOS machine for a couple of game servers. I followed some tutorials on the web for that, because I'm a linux noob. But. I want to sftp to store data on the server but it is ...
2
votes
1answer
196 views

Why can I still log in via SSH (PAM Auth) while `shutdown -k` is active?

Pretty straight-forward. Does SSH ignore the nologin file created by shutdown -k TIME? Using PAM Auth to sync password database to users; if that makes a difference.
2
votes
1answer
133 views

Suddenly changing users [closed]

Has anyone ever encountered a scenario where you are logged into a system going about your standard business, cat, ls, tail, grep, vim, find etc. and suddenly permissions to regular things stop ...
2
votes
2answers
604 views

I can create a file but I can't read from it

I've been using linux for a while, but I always had root access, so permission problems were no big deal. But now I don't have root access and it's driving me mad. I have a ssh access to a web ...
2
votes
1answer
686 views

How do I use SSH keys for passwordless SSH via X11 apps (like nautilus)?

I just reinstalled Linux on my laptop, and I'm trying to get SSH pubkey authentication working via X11 applications. Specifically, I'm trying to use baobab to display the usage of a remote filesystem, ...
2
votes
0answers
32 views

Using autossh to create a persistent, multiplexed ssh connection without any port forwarding?

I want to use autossh to maintain an ssh session configured for multiplexing. This way I can write scripts on my localhost that take advantage of the persistent ssh connection. I'm having trouble ...
2
votes
0answers
43 views

Tunnel audio chat over ssh

I'm running a HelpDesk for internal call center employees. Right now, we can chat with employees over our web portal and remote-control their Linux Mint workstations via VNC over a secure SSH tunnel. ...
2
votes
0answers
31 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): ...
2
votes
0answers
38 views

ssh terminating immediately with message Terminated

I have tried following command on my local system (Ubuntu 14.04 LTS): $ ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. ECDSA key fingerprint is ...
2
votes
1answer
50 views

Add a static text layer/bar in terminal

I have a script that I use to automatically generate port forwards for SSH, since I am working in several terminal windows across different servers all day, and this checks whether or not the port has ...
2
votes
2answers
77 views

How to set Timeout for an ssh command and also get back the result of remote commands

I have a script that runs on bash, in an RHEL server that connects to thousands of nodes and returns with the values of some 5 executed commands - It collects info from RHEL Servers only. It works ...
2
votes
1answer
89 views

Avoid “Shared connection to <host> closed” messages

I'm managing a lot of drupal sites, and trying to automate some stuff using drush. Drush run locally calls drush on the remote host via ssh using options specified in the config for the site alias. ...
2
votes
1answer
38 views

Arch Linux openSSH frequently drops connection

I'm running a VM using Oracle's VirtualBox. The OS is the latest version of Arch, 64-bit. For some odd reason, every so often (frequently enough to be very annoying and making it almost impossible ...
2
votes
0answers
39 views

How do I test sshguard on debian?

I want to replace fail2ban with sshguard because it uses less resources. I installed sshguard via apt-get and it seems to be running on my debian wheezy server: # /etc/init.d/sshguard status sshguard ...
2
votes
1answer
66 views

Solution for private keys on a remote machine?

I have to manage several servers, with services that can be cron, and integration jobs, deployments, backups. The common thing with all of these, is that they sometimes require access to other ...
2
votes
1answer
101 views

Port forwarding for VPN connection

I'm using a public wifi hotspot. Usually when I connect to these, I immediately connect to my college VPN. On this hotspot, only browsing works (no program other than a browser seems to be able to ...
2
votes
0answers
37 views

How to set gnome-terminal to the remove server name without touching PS1? [closed]

There are various servers with various OS, we cannot touch the PS1 of them. There is a "sysadmin" notebook, having CentOS 6.5/GNOME, so using gnome-terminal. We log in via SSH to the servers in ...
2
votes
0answers
22 views

What's the approximate data scale that an ssh session will consume?(without file exchange)

When traveling during holidays, sometimes I need use my mobile as a WiFi hotspot to let my notebook connect to server to do some task. Then a question comes to my mind: How much web data will be ...
2
votes
0answers
48 views

Avoid creation of .k5login file in a SFTP Chroot configuration

I've successfully set up an sftp with authentication on Active Directory. All users in a particular AD group are managed by SSH's sftp subsystem and chrooted into a common home directory, let's say ...
2
votes
1answer
229 views

Cannot ssh into a fresh install of CentOS minimal on lan

I've downloaded CentOS 7 Minimal and installed on an old laptop. I want to be able to ssh to the machine from other machines on the same lan. But I keep getting this error .. ssh: connect to host ...
2
votes
0answers
39 views

Forwarding C-c to a remote tmux session

I have bind C-c new-window (and other similar bindings, but only C-c is giving me an issue) in my .tmux.conf. On a local tmux session, the binding works as expected, but in a remote tmux session(over ...
2
votes
0answers
94 views

Increase SSH ConnectTimeout greater than 60 seconds

I don't seem to be able to increase the SSH connection timeout much beyond a minute: $ date; ssh home-qnap -o ConnectTimeout=7200; date Wed 14 Jan 2015 15:23:32 AEDT ssh: connect to host home-qnap ...
2
votes
0answers
51 views

X forwarding from a mac to Linux fails

I have been having problems recently while trying to ssh into linux servers (Ubuntu 14.04) from my mac (OSX Yosemite 10.10). This used to work fine until my latest update, where I systematically get a ...
2
votes
1answer
55 views

encfs automount and authorized_keys

Here's my problem: I have encfs configured in such a way that on login the subfolder ./private is mounted. However, when I use the workstation remotely via ssh, I don't give my password on login, ...
2
votes
1answer
33 views

Programatically / dynamically adjust SSH session port forwards

I have a workflow where I am trying to do the following: For a given existing SSH session, access the remote machinne and perform a process from which a port is returned (e.g. a remote daemon has ...
2
votes
0answers
181 views

Fedora 20: irqbalance problems in logs, strange behavior

I'm seeing unexplained network behavior, such as sporadic inability to reach beyond the subnet, passwords rejected for no apparent reason, and SSH attempts constantly yielding that irksome ...
2
votes
1answer
370 views

OS X SSH keeps asking for password [closed]

I connect from a Linux machine to several Macs over ssh using public/private keys. The setup is the identical on every ac, different OSs from 10.5 to 10.9 and publickey working. Only one of them, ...
2
votes
0answers
173 views

Determine DBUS_SESSION_BUS_ADDRESS from outside the X session

I've got mate-screensaver installed on a machine running Linux Mint 16. On that machine, I can open up a terminal and query the state of the screensaver: dan@box1 ~ $ echo $DISPLAY :0.0 dan@box1 ~ $ ...
2
votes
0answers
102 views

How to find out what triggers ssh-askpass prompting for passphrase periodically

I recently deleted the contents of my ~/.ssh directory and generated new keys. They new ones work fine, but every once in a while I am getting a gui dialog titled OpenSHH from asking for the ...
2
votes
0answers
513 views

SSH public key login fails without pattern

I'm running a bunch of servers with Ubuntu 14.04.1 (sun,hyperion,...) all of which use public keys (OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 on all machines) for rsync without problems. Almost all... ...
2
votes
0answers
81 views

SSH SOCKS5 proxy, is my traffic being kept safe?

So I've been running everything on my system through my SSH SOCKS5 proxy. All the network commands I type in the terminal, I use proxy chains, and I have my system set to use my SOCKS5 proxy globally ...
2
votes
1answer
254 views

SSH over corkscrew and proxy get “ssh_exchange_identification” error

until few days ago I was able to connect to my remote ssh server, using corkscrew to tunnel the connection through the corporate proxy, with this simple configuration: ssh -v root@xxx.xxx.xxx.xxx -p ...
2
votes
1answer
122 views

SSH fork kills connection

I am using a linux script which has the task of forwarding control of the system to remote support. In this script one of the commands is a ssh port forward command that will forward the port of the ...
2
votes
1answer
909 views

Chroot gone wrong, can't ssh with user

Distribution: Scientific Linux 6.5 (Carbon), not exactly your typical brand of linux. Tried to chroot a user using these instructions for SSH and quite obviously failed, and now I can't even log in ...
2
votes
1answer
241 views

DSA/RSA keys work with Linux but not HP-UX

I have an NFS mount that I use to log into many Linux/Unix servers. I created a passphraseless RSA and DSA key from with I copied the id_rsa.pub and id_dsa.pub files over to authorized_keys. total 9 ...
2
votes
1answer
31 views

Repository for Family Pictures [closed]

I have a Debian computer and a MacBook Air. On Debian I created a repository: mkdir -p /repository/git/2014.git cd /repository/git/2014.git git init --bare --shared On the MacBook I then typed: cd ...
2
votes
2answers
910 views

Why can't I use public/private key authentication with ssh on Arch Linux?

I have the following setup on an Ubuntu machine: ~/dotfiles/authorized_keys2 ~/.ssh/authorized_keys2 -> /home/wayne/dotfiles/authorized_keys2 I had the same setup on my Arch machine, but when I ...
2
votes
0answers
144 views

Kerberos Forwarding in SSSD

So, I'm trying to set up forwarding with Kerberos and seem to have some problems. On some of my servers I'm able to forward after receiving a ticket; however, some I'm not. My system setup is a ...
2
votes
0answers
92 views

How does ssh work when client and host are on the same machine? [closed]

I illustrate my question with the help of docker containers but this example is orthogonal to the rest of the problem. In fact any program that allows the use of bridge interfaces and ssh would do. I ...