Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
1answer
1k views

SSH login using no-ip hostname or public IP denies my access

I'm using PuTTy to connect to a home server I set with LinuxMint 15, open-ssh, all the necessary stuff. I can login just fine with my user using the private IP like "user@192.168.1.35". Then I ...
0
votes
2answers
211 views

Windows SSH Client to monitor connection [closed]

I am looking for a Windows SSH Client that will monitor your SSH connection to your Server and will notify you via balloon notification if SSH connection dropped. Also it will let you reconnect ...
0
votes
1answer
150 views

IBM AIX: How do I set up SSH X forwarding on an unprivileged user with no home?

Long story short: I have an AIX server where my user is unprivileged and has no home directory, and it is not easy to fix this because OS-level management of this server is outside of my jurisdiction. ...
0
votes
1answer
27 views

Use ssh-add automatically

So on Ubuntu, whenever I SSH to a machine, I get a prompt to unlock my private key and until I quit my OS session, I can SSH to as many machines as I want using key authentication and not having to ...
2
votes
1answer
4k views

Checkout from svn repository over ssh

I'd really like to know how to checkout a SVN repository from a remote machine that is only serving on the svn protocol (so no WebDAV with Apache etc.) over an SSH connection. Can someone tell me how ...
0
votes
2answers
447 views

If ssh connection fails using SOCKS then what? Automate switch to no proxy?

Right now I am using plink in a batch routine that reconnects to my SSH server if I loose connection. I use my plink connection & socks proxy (firefox) to forward all my browser traffic. Works ...
0
votes
1answer
96 views

Redhat in VMware - adding second VNIC set up with NAT for SSH

I have had a questioned answered on a issue I was having with Hamachi VPN and connecting it to my Linux VM to use a tunnel for SSH outside my local home network. The person that answered the question ...
5
votes
3answers
14k views

Automount sshfs using fstab without mount -a

Please consider following fstab line (line breaks for readability): sshfs#user@192.168.1.123:/home/user/ /home/user/Server/ fuse ...
0
votes
1answer
40 views

Key-based authentication such that they have access only to /home folder

I have a Linux CentOO web server in which I have multiple web sites. I have 5 website programmers now doing the coding for all the sites. How can I provide a key-based authentication for the ...
0
votes
1answer
317 views

Setup IPv6 over IPv4 tunnel in VPN

Let me explain my szenario: I have a linux server A. A is reachable in a VPN. So if I am connected to the VPN over Internet I can successfully ping A. Server A is connected to a Router B. Router B ...
0
votes
1answer
1k views

Centos 6 server does not open ports

So after some battling and struggling with the firewall, i see that I may be doing something or the firewall isnt responding correctly there is has a port filter that is blocking certain ports. Okay, ...
0
votes
1answer
70 views

Why should I care to set up SSH for VNC?

Assuming that the content of the screen I operate on doesn't contain any sensitive information, does tunneling VNC (TightVNC) session through SSH makes my VNC server less prone to attacks and ...
2
votes
1answer
177 views

SSH Gnome Terminal Background/Foreground Colors

How can I automatically change the background/foreground color of my terminal based on the host that I SSH into? My current setup is an Ubuntu desktop running Gnome-Terminal that SSHs into a set of ...
2
votes
1answer
386 views

PuTTY: Forcibly terminate an SSH session without closing the window

Is there a way to forcibly terminate an SSH session in PuTTY, short of closing the PuTTY window? For example, in OpenSSH, I can use the ~. escape sequence to kill the connection. This is useful when ...
0
votes
0answers
29 views

UDP tunnel over SSH : almost? [duplicate]

I am trying to set up a UDP tunnel over SSH but it doesn't work. Machine A is under Windows Machine B is running Linux I want to connect (voice over IP) from machine A to machine B via UDP with ...
0
votes
1answer
129 views

SSH without portforward

I have a raspberry pi lying around in my dorm room. It's connected to campus internet which has all ports closed and I obviously don't have any access or permission to port forwarding. Now I want to ...
0
votes
0answers
98 views

SSH into current Windows session

I need to be able to SSH into my Windows 8.1 laptop but into the current session, meaning I need to be able to start programs on my laptop sort of like VNC except from a CLI. Does anybody know how to ...
0
votes
1answer
141 views

Linux SSH server setup, Kerberos authenticated NFS4 home dir

I want to setup a ssh server for our users. Our users authenticate against our ldap server with Kerberos encryption, upon which they get access to their home dir's. The ssh server has to listen to the ...
2
votes
1answer
176 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
0
votes
1answer
32 views

How do I physically restrict access to my machine while still allowing SSH?

I work in a cube farm and want to prevent others from physically accessing my machine while I work from my second location. Is it possible to physically lock out users in the office (for example, ...
1
vote
1answer
2k views

ssh <username>@<host> How do I find the user name and host name of my local machine?

I just installed openssh on my Xubuntu machine using this guide. It's installed successfully which I checked by doing ssh -v localhost. Now I want to ssh into this machine from my mac. I have my ...
1
vote
0answers
97 views

Using scp with an ssh connection - can I copy files directly between remote machines?

I have ssh'd into a remote machine and on that machine run scp to copy files from another remote machine. I assumed that the files would be copied directly between the two remote machines but the ...
0
votes
2answers
221 views

SSH Port forwarding

I have a server machine (A) which has ssh installed, along with a webserver. How do I forward the port with the webserver to my local machine (B). I should be able to browse to ...
0
votes
1answer
105 views

Getting molly-guard to work with sudo

The program molly-guard is a brilliant little tool which will prompt you for a piece of information before you reboot or shut down a system. Usually it asks for the hostname. So when you work a lot ...
0
votes
3answers
3k views

SCP not working in CRON job, only manually

I have a script on a remote server (bServer) which SSH's to a central server (let's call it cServer) and kicks a script which further SSH's to 2 other servers (server13 / server14). A script is run on ...
0
votes
1answer
426 views

Unison profiles root/path issues

I am trying to sync two folders with each other (one local, one remote) using unison. If I use a standard command like this.. unison -times /Volumes/My\ HD/Work ssh://myremoteserver//volume1/My\ ...
1
vote
1answer
370 views

win-sshfs vs Dokan

I'm using win-sshfs from some time. But while exploring its sources I discovered Dokan project which is used by win-sshfs. But apparently it can be used by its own to do the same. So the question is ...
1
vote
0answers
384 views

SFTP Connection to Windows 2008 Server Running RemotelyAnywhere

I'm writing a program that automates a test that needs to be preformed on a regular basis. To do this test it requires a number of files to first be uploaded to a Windows 2008 Server. The server does ...
1
vote
2answers
579 views

Wait for linux machine to be rebooted

I have a small script to install on my remote machine an update. I would like to reboot the machine remotely and if it is rebooted, continue with some more commands. What I currently do is: ssh ...
2
votes
1answer
1k views

How can I direct rsync output / log to the remote server?

I am able to output rsync logs on the client machine using --log-file=FILE but I want the output to be sent to the server instead. The client is a W7 machine (cygwin) and the server a Linux NAS. This ...
0
votes
1answer
24 views

Get the user name or host name of a connecting ssh user

I would like to get the user name or host name of a connecting ssh user to exec some functions in the .bashrc. # pseudo code if (ssh && connecting_ssh_username == "foobar") { do something ...
3
votes
1answer
367 views

After logging out of SSH, screen sessions disappear on Arch Linux

On Arch Linux (I'm on a single dedicated server, where my domain name points to only one IP), when I SSH into a user (say, for example, user mc), and then do screen -S test (or -dmS, the ...
1
vote
1answer
48 views

how to connect with ssh when it's hanging

I'm trying to ssh into a remote machine, but it hangs when looking for an identity file: [username@local .ssh]$ ssh -v remote uname OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 debug1: Reading ...
2
votes
0answers
88 views

SSL cert owner != localhost after creating SSH tunnel

I use an SSH tunnel to connect to my work's mail server, then tell my mail client to connect to server "localhost" on port "1993" (the port I chose for the tunnel). I have two different Ubuntu Precise ...
0
votes
3answers
1k views

How to keep variable preserve while running script through ssh

I am trying to run while loop with read through ssh: #!/bin/bash ssh root@10.10.10.10 "cat /var/log/syncer/rm_filesystem.log | while read path; do stat -c \"%Y %n\" "$path" >> ...
3
votes
2answers
142 views

How can I get the root account to generate an acceptable ssh key?

On an ubuntu machine I did the following: ~$ sudo su - [sudo] password for jamie: root@mydomain:~# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key ...
1
vote
2answers
6k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
0
votes
1answer
464 views

ssh password authentication: use a graphical prompt?

I'm working on an assignment where our work group was given access to a git repository for our submissions, but the server only supports password authentication for students. So, when I use my ...
2
votes
1answer
133 views

How do I make git fetch ignore my private key?

I'm writing a cronjob that will git fetch. I have a private key that I often use for authenticated git things (like github) which has a passphrase on it, but this specific git fetch doesn't need the ...
2
votes
0answers
128 views

PHP ssh2_fingerprint() does not match ssh-keygen -lf id_rsa.pub

I am using the lib ssh2 module with PHP and calling the function ssh2_fingerprint() to get the keys fingerprint. According to all resources on the internet, I can get the fingerprint of a public key ...
0
votes
1answer
131 views

SQL Server Unattended Install through SSH

I'm trying to install SQL Server from the command line through Cygwin open-ssh. The install works when I log onto the server as Administrator and execute the script through a Cygwin shell, but the ...
3
votes
1answer
424 views

AIX 7.1 su root password bug?

In our AIX 7.1 machine there is a weird bug we've ran into.. If you are logged into the AIX box via SSH as a regular user and you try to su - you get prompted for the password, lets say our password ...
0
votes
2answers
1k views

How to forward external port to internal port using plink

For a penetration test where I have shell access to a computer running an old Windows, I'd like to forward port 4450 to 127.0.0.1:445 because the firewall is blocking 445 externally. I'm stuck on ...
1
vote
1answer
349 views

Backup files from Linux client to Windows Server

I'm trying to backup my files from my Linux box to my Windows Server 2008 as a push, and when I delete them from my Linux box, they remain on my Windows Server. I've found lots of sources that are ...
0
votes
2answers
3k views

Virtual Machine with Bridged Adapter to Centos not accepting ssh from host machine

I have a bridged connection on VirtualBox from os/x 10.8.5 host to Centos 5.8 client. But I suspect this is more of a general issue than specific to the host and precise version of linux. Shown ...
1
vote
4answers
641 views

Problems when loop over a series of ssh-ed commands

I have a series of server machines which I want to run the same command on. Each command takes hours and (even though I am running the commands using nohup and setting them to run in the background) ...
8
votes
1answer
1k views

What exactly determines if a backgrounded job is killed when the shell is exited, or killed?

This question has come up quite a lot (really a lot), but I'm finding the answers to be generally incomplete. The general question is "Why does/doesn't my job get killed when I exit/kill ssh?", and ...
0
votes
1answer
369 views

how to debug when xinetd says : got signal 17 (child exited)

I am trying to start services vsftpd and sshd using xinetd. my config files are as follows. /etc/xinetd.conf defaults { instances = 60 log_type = FILE ...
0
votes
1answer
2k views

Win7 OpenSSH config: no address associated with name

I am using OpenSSH on win7. My home dir is C:\Users\JG, and inside that dir I have the file C:\Users\JG\.ssh\config, with these contents: Host <redacted server ip here> HostName ...
0
votes
2answers
217 views

Multiple SSH failing to run more than one command

When a use multiple SSH like below i am only able to run one command, if try to run more than one command its fails. This thing is failing: ssh -o UserKnownHostsFile=/dev/null -o ...