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
2answers
1k views

Ubuntu 12.04 Permission denied (publickey,gssapi-with-mic)

I was cloning a github repository. I copied my id_rsa key from another pc to my /home/me/.ssh/ however this error shows up Permission denied (publickey,gssapi-with-mic). how would I solve this ...
1
vote
1answer
460 views

putty SSH via gateway server with keys

I'm trying to setup an SSH connection to an internal server that is only available when proxy'd through a public SSH server like below Me > Gateway SSH Server > Internal SSH Server On linux I can ...
1
vote
0answers
447 views

Enabling proxy in Virtualbox

On my host computer I have installed BitWise SSH client that connects to my home computer. In Chrome I've added a addon to redirect everything to 127.0.0.1. Works great and Im able to surf whatever I ...
0
votes
1answer
187 views

Emacs doesn't use ~/.ssh/config when accessing files on a remote machine

I have a fresh install of arch Linux. I've installed Emacs from the rpos, and my home directory is mounted from a separate partition. I have old settings I've used on my ~/.ssh/config along with ...
0
votes
1answer
423 views

Chroot from android into environment as user

I'm trying to use my android tablet as a dev environment. So far I have created an Arch and Ubuntu img. I can chroot into both just fine and I have created a user using adduser, but I do not know how ...
4
votes
1answer
398 views

How to encrypt rsync communication? (rsyncd + stunnel, vs rsync over SSH, etc)

I don't know much about the specifics of rsync, SSH, stunnel, etc, but I'm looking for a way to make rsync backups, but the transfer of data over the network must be encrypted (the credentials, and ...
2
votes
1answer
2k views

SSH from local machine to virtual KVM guest

I have libvirt+lvm+kvm setup on dedicated server with one virtual guest inside. I can access guest from host using ssh and ip of guest, but I can't understand how do I access guest from my laptop ...
1
vote
1answer
57 views

Restarting multiple mac computers with terminal

How do you restart multiple mac computers that are on the same network with terminal? I know the ssh command to login to one computer but I want to be able to send a reboot command to multiple ...
3
votes
3answers
3k views

VNC via SSH tunnel: channel 3: open failed: connect failed: No route to host

I used to connect from A to a system B through VNC with SSH tunnel via C. I do the following: In B I start the vncserver: vncserver and let's say I get the :12 In A I open the ssh tunnel: ssh ...
0
votes
2answers
2k views

OpenSSH (Windows) to SSH (Linux) key auth not working

I've setup an OpenSSH server on my windows machine and have been able to successfully SSH from windows box to my Linux machine (and vice-versa) successfully. Although, I am not able to set up key ...
0
votes
0answers
652 views

Executing tcpdump remotely while storing packet capture locally

I have run into stumbling block while attempting to create a bash script that will write packet capture files from tcpdump onto a remote server, while displaying the output of the tcpdump command so ...
0
votes
0answers
19 views

Executing tcpdump remotely while storing packet capture locally [duplicate]

I have run into stumbling block while attempting to create a bash script that will write packet capture files from tcpdump onto a remote server, while displaying the output of the tcpdump command so ...
-1
votes
1answer
182 views

How to use remote IPv6 over ssh? [closed]

I have a cheap VPS with 1 IPv4 and 5 IPv6. I want to use 1 of the unused IPv6 connections on my computer so I can start using IPv6 Does anyone have any ideas? I would prefer an all OpenSSH based ...
0
votes
1answer
2k views

How to transfer entire directory from one server to another via SSH

I have two servers, access to SSH on both. I want to transfer entire directory from server A to server B. They are both remote servers to me. Am I right to assume it is possible to log into SSH ...
0
votes
0answers
227 views

packet loss and unable to ssh

I am trying to connect to a linux server from my linux machine using SSH over LAN. I don't know what the problem is but sometimes I can ping the server but can not ssh whereas at other times I am ...
0
votes
1answer
251 views

Setting up a web server on ubuntu server 13.04 with user panel [closed]

I currently have Ubuntu Server installed to a VirtualBox image runnin on my main computer, I am wanting to use it for a web server with a user panel such as webmin (from my research i think this ...
0
votes
1answer
59 views

What's the most seamless way to work over ssh on OSX?

There's something just wrong about scp'ing every file you've changed. I normally use Sublime Text 2 - is there an editor or something that can upload files right as they are changed via scp? If not, ...
0
votes
0answers
179 views

is there any tool on windows like nppFtp but can jump through ssh? [closed]

I use notepad++ with nppFtp on windows now, but it can only access a server with public ip, either by SFTP or FTP. I want to edit some files on a server without public ip but can jump through another ...
7
votes
3answers
713 views

Three-step authentication?

I'm using Ubuntu. I'm just wondering if it's possible to have libpam-google-authenticator (which lets you log in using a code generated by your phone) AND certificate authentication set up to work ...
0
votes
1answer
64 views

Is there any way to bind a alias for some IP without using DNS or hosts?

In a local area network, there is no DNS service. I also have no permission to sudo. In daily work, I frequently use SSH between some nodes. It is so troublesome to type ssh user@192.168.1.2 every ...
0
votes
1answer
240 views

Is it possible to control a remote terminal window?

I run a few things in a terminal window at work (osx and linux servers) and would often like to check on them from home. I can ssh to my work computer, but I'm wondering if it's possible to control ...
0
votes
0answers
70 views

Dynamic Port Forwarding Automation and Which Ports?

I've successfully enabled dynamic port forwarding in my web browser. Now I'd like to go a few steps further if that's at all possible. 1) There is software that monitors network traffic on a ...
0
votes
1answer
298 views

SSH to specific computer behind a router if local IP is known

I'm hosting a number of websites out of different boxes behind a router; when I was only hosting one, it was simple enough to forward port 22 on to the hosting box and use that one as a remote server ...
1
vote
1answer
63 views

SSH parameter help on Ubuntu Server

I have a variable setup like this: SSH_EXEC="ssh -X -o ControlPath=~/.ssh/master-$$ -o ControlPersist=60" The parameter in question is the -X, because if I then call this command within my local ...
-1
votes
1answer
87 views

Why i can not connect myself as root on mac using the terminal?

Actually i have to connect myself as an admin : ssh user@xxx.xxx.xx.xx to log into the mac and then use "su" to be as root. I can't connect myself directly as root! WHY?!?....
0
votes
4answers
8k views

ssh key auth still asks for password (no passphrase set)

Trying to set up SSH to my CentOS VPS with key auth and no pass phrase so that I can auto-connect from my Debian 7 local server. I've gone as far as copying and pasting from two different guides on ...
2
votes
1answer
199 views

SSH Dynamic Port Forwarding

I've done lots of searching over the past couple of weeks. And I've found a LOT of blog entries and articles on the subject. But invariably they're either just an article talking about the benefits ...
0
votes
1answer
817 views

How to discover what is killing a process?

I have a minecraft server running in a VPS and sometimes my server is being killed unexpectedly. I don't believe this is a java error because no error is thrown and this happens when the server is ...
0
votes
0answers
84 views

libssh vs alternative root users

Here is an excerpt of the /etc/passwd file on a remote machine. root:x:0:0:root:/root:/bin/bash valid:x:0:0::/home/valid:/bin/rbash As you can see, valid is an alternative name for root. I can ...
2
votes
1answer
1k views

How to use sshpass for chained connection?

I have two customer's machines, $gateway and $server, the second one is only accessible from the first one. Public key auth is unavailable on both systems. So, to execute some $command on the server I ...
0
votes
0answers
82 views

Connect to local VirtualBox

There are several VirtualBoxs running on a machine I have ssh'd into, part of ps aux: /usr/lib/virtualbox/VBoxHeadless --comment workspace_1368637257 --startvm 61c3fb72-92e2-4505-a5bb-2becfc6a7278 ...
0
votes
1answer
300 views

Run local GCC on remote linux server

I'm sure this has been asked before but after some time searching I'm not finding quite what I want. I have a test server that I cannot install GCC or other development needs on. On my development ...
0
votes
1answer
121 views

Bash terminal lacking functionality when running as non-root

I'm running a command-line Debian system, accessed via SSH through PuTTY, and am experiencing differing terminal functionality between root and other users. When logging in as root, the terminal ...
0
votes
1answer
219 views

Issues while setting up passwordless sftp

I was trying to set up a passwordless sftp from one Red Hat Linux server to another. As "oracle" user, I created the key-pair on server1, copied the publickey over to server2, and then added them to ...
2
votes
2answers
4k views

ssh: connect to host port 22: Connection refused with external ip address

ssh: connect to host XXX.XXX.XXX.XX port 22: Connection refused This happens when i try to connect with external ip (WAN IP Address). I am successfully able to connect using internal ip address ...
0
votes
1answer
166 views

SSH tunnel from linux (ubuntu) to windows

I want to make an SSH tunnel from my Ubuntu to my PC (Windows 7). I found this tutorial for installing openSSH in Windows. I can connect successfully but when I run: ssh -D 8080 [user]@[ip] I ...
1
vote
4answers
3k views

Rsync root files between systems without specifying password

This seems very tricky to me. I've set up my two systems so that I can rsync files between them as me, without specifying password. Now the the problem is to rsync files that belong to root. On both ...
0
votes
2answers
856 views

GTK apps from remote server look bad

I ssh into my headless remote server with X11 forwarding. All my remote GTK apps from remote server look rather ugly. My default GTK theme is not applied. I think this has something to do with GTK ...
2
votes
2answers
151 views

Cannot setup ssh gateway

I am trying to setup a ssh gateway. I have a physical host (H) and a number of VMs on it. The host can ssh to one of the VMs (A) and then ssh to others from it (lets call it B). I have this in ...
0
votes
0answers
89 views

How to edit a remote file with implicit su-ing to another user on remote host

I want to edit files on Unix/Linux servers from my PC (running Linux and/or Windows). However due to security, I cannot log into the remote server as the file owner, but as my named user, then sudo su ...
0
votes
0answers
30 views

Connect to remote display on Mac

So basically, I am super lazy, and I want to be able to sit on my couch or in my bed, and watch netflix on my linux desktop or mac mini respectively. I got super hyped when I found out about x2x, but ...
0
votes
1answer
685 views

set GNU screen background color

I would like screen to change the background color of the terminal (xterm) when started. I want to have a quick way of determining whether I am in screen or not. I often work over shh and it often ...
0
votes
1answer
147 views

OSX Keychain not remembering SSH Passphrase

I have an key with a passphrase that I would like the keychain to remember. I have put the passphrase in multiple time, each time adding it to the keychain, but it still asks me for the passphrase ...
0
votes
1answer
253 views

Set up SSH access with gogoc service

I'm trying to set up gogoc in order to allow my computer to be accessible via SSH using a Freenet6 Tunnel Broker. Here are the relevant parts of my /etc/gogoc/gogoc.conf: userid=<my_userid> ...
0
votes
2answers
298 views

SSH - ftp user multiple folder permissions

I have a server with SSH access. Hope anyone can help me very quickly with permissions. I have a folder, in that folder there are 10 more folders (f1, f2, f3, f4, f5, f6, f7, f8, f9, f10). I created ...
1
vote
1answer
545 views

Debian - install new software by apt-get over SSH

I tried to install new software when I was connected to my Debian over SSH, for example sudo apt-get install subversion, and after calculating dependencies, required space, etc. APT asked, if I want ...
0
votes
1answer
2k views

How to change terminal colors when connecting to SSH hosts

So you want to change terminal colors and resetting them back on exit? It's possible! Thanks to .ssh/config, alias and setterm.
1
vote
3answers
10k views

How to connect home computers (Linux) from office computer (windows) using putty

Is there any way I can connect home computers (Linux) from office computer (windows) using putty. If yes, please tell me the step to make the connection.
-1
votes
3answers
257 views

How to set up ssh for public key from any machine

I have a Mac running Lion at home. I disabled password ssh login; I just want to use public key. I generated private/public key pair, but now I'm confused. I start a new job tomorrow, and want to ...
4
votes
5answers
1k views

How can you SSH to an unknown host name with a known key?

I have a machine that connects to a corporate network over VPN. When I connect to the VPN, it always gives me a different hostname and ip address. The hostname is always remote-[last octet of ip ...