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
11 views

ssh login with key can't connect although go an ssh key

I have my 2 servers that I want to connect one to another with ssh. I am the user --> userA in serverA, and I have this config file in .ssh folder Host git HostName git.OURSITE.com ...
1
vote
1answer
30 views

Why is this sudo command try to run in /root?

I try to run a sudo command via SSH like this: ssh domain.com sudo -u user bash -c "cd /home/user/ && ls" (which is obiously just an example). I get back: /home/user/: line 0: cd: /root: ...
6
votes
6answers
6k views

Connect to Linux by name rather than IP

I'm new to Linux (currently running Ubuntu 10.04) and I have just finished setting up SSH access to my Linux Machine. Currently, I have to use ssh root@x.x.x.x to connect but would much rather be ...
6
votes
3answers
2k views

Sending key via ssh or using mouse to activate Target Display Mode?

Is it possible to send a keystroke via SSH? I want to be able to send CMD+F2 via ssh from/to Mac OSX. If not possible a mouse solution would also be good. The reason I need this is because I only ...
0
votes
2answers
64 views

How to scp across two ssh

I have three computers HOME, WORK and SERVER and I am connected from HOME to SERVER by: ssh -t <WORKusername>@<WORK> ssh -p23456 <SERVERusername>@localhost I need to transfer the ...
0
votes
1answer
20 views

In tmux, after ssh a server, how to send R code in vim to R consol

I installed tmux and vim-r-plugin in local machine (ref: http://manuals.bioinformatics.ucr.edu/home/programming-in-r/vim-r), and use ssh to log in a server (only vim-r-plugin and screen installed). ...
3
votes
5answers
8k views

Connection closed by remote host

I'm trying to connect to a server using a private key generated through cPanel and stored on my local machine, but I am getting the "Connection closed by remote host". Any ideas? XXXXX-computer-2:~ ...
-1
votes
3answers
19 views

I can ssh out but not in. Reversible?

I have an account on a server inside my corporate network. I also have a VPS from Linode. I can ssh from the corporate server to the Linode VPS or to my home computer with no problems. But thanks to ...
3
votes
3answers
4k views

If I use SSH with public keys, is it subject to the password expiration of my user account?

So if I'm using SSH with public/private keys to connect to a Unix box, and the password for my user account on that box expires, will I still be able to connect?
16
votes
2answers
3k views

How can I forward a gpg key via ssh-agent?

I can use the ssh configuration file to enable the forwarding of ssh keys added to ssh-agent. How can I do the same with gpg keys?
0
votes
1answer
16 views

Run python script on server over ssh session in the background persistantly

I got an account from my professor for our universities CUDA server for running some tests. I am connecting via ssh over terminal. The thing is, as I close the terminal the server also seems to kill ...
0
votes
1answer
21 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
10
votes
5answers
9k views

How do I make sshfs work in Debian? (I get /dev/fuse: Permission denied )

I've moved from Ubuntu to Debian on a machine and all my sshfs mounting scripts fail with fuse: failed to open /dev/fuse: Permission denied now. Am I missing something simple?
0
votes
0answers
15 views

ssh key works on terminal but not on git

I have my machine, with it's ssh key. the public key is on the git remote machine. I can easily connect to the Git machine with simple ssh threw terminal. The problem is when I perform a "git pull" ...
0
votes
0answers
8 views

Mac Terminal - Color Co-ordinated

I would like to create a couple of short cuts on my iMac which ssh on to my dev box and on to my prod box. I would like my dev connection to use the settings something similar to home-brew (green text ...
0
votes
1answer
13 views

ssh to production to www-data user

I build an automation for deploys, that we connect to our productions servers and then perform a git pull in the project. The project is owned by "www-data" so I need to to --> ssh ...
3
votes
2answers
323 views

sshfs is failing with “remote host has disconnected”

I'm running sshfs with the following: sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys ...
0
votes
0answers
14 views

SCP error 'unable to open'

So, I set up a SSH server (freeSSH, win7) and can connect to it just fine with PuTTY. I then tried to use pscp to transfer a file (foobar.txt, from client to server). I cd-ed to the dir pscp.exe was ...
0
votes
1answer
18 views

network adapter not listed in my virtualbox vm

I am trying to SSH into a virtual machine I have set up in virtual box from my Windows 7 host machine. I would like to make several development machines and ssh into them from my host machine, as well ...
0
votes
2answers
32 views

ssh _from_ Linux _to_ Windows: Which editor to use on Windows machine? [on hold]

We have a situation where we have a SSH-server running on a Windows host which we then use an ssh client in e.g. an xterm (or another vt100 compatible client) to connect to, and then get a DOS prompt ...
3
votes
3answers
2k views

Tramp: Waiting for prompts from remote shell

I have an issue with tramp against a specific host when I use ssh-keys for authentication. It works fine when I don't use ssh-key authentication, but I would like to prevent entering the password all ...
0
votes
2answers
27 views

Can a client server host multiple private ssh key for same profile?

I have a client who is using Tectia Client to connect to our UAT. They created a ssh pair and imported the private key to the profile they are using to connect,and passed us the public key. Now we ...
0
votes
1answer
29 views

Chroot ssh user to home folder results in Connection refused

I'm trying to give someone ssh access to a (Ubuntu 14.04) server I've got, but I want to limit them to their own home folder. So I'm trying to follow this tutorial. I first created a user (sudo ...
1
vote
1answer
31 views

VIM + netrw: accessing a machine behind a gateway

I'd like to setup a vim session to edit some files on a machine behind an ssh gateway. Is this possible? To access the files via the command line, I have to do: mycomputer$ ssh gateway gateway$ ssh ...
0
votes
1answer
36 views

To which level can VPN traffic be sniffed?

I've got a doubt: I'm starting to work in random places (consulting) which means I switch from a network infrastructure to another one depending on the client. I'm really concerned about security and ...
0
votes
1answer
2k 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 ...
11
votes
3answers
9k views

How do I configure SSH so it dosen't try all the identity files automatically?

I have been putting my ssh identity files inside my ~/.ssh/ folder. I have probably about 30 files in there. When I connect to servers, i will specify the identity file to use, with something like ...
0
votes
1answer
51 views

Creating a connection between 3 computers

I have 3 machines on 3 different network. HOME: With internet but not connected to any local machine, with sudo. WORK: With ssh available through www internet, HOME can ssh to WORK, but not ...
1
vote
1answer
44 views

ssh 2 different computers behind same router and modem?

well I have been following every rule out there on Forwarding. I currently have 2 computers, lets call it Computer DOG and Computer CAT. I can ssh into DOG from outside my network perfectly. I went ...
0
votes
0answers
9 views

Check if file is being read by remote rsync

I'm working on a script to copy files from one location to another (both are raspberry pis running raspbian). I have it set so that files are rsynced from one to the other (overnight, transferring ...
0
votes
1answer
26 views

Is there a way to check if wireless network allows ssh connection?

I am at the public library currently using a mac book and I am trying to SSH into my server. I am normally able to do so in other places that are not on my local network, but I am not able to here. ...
0
votes
1answer
36 views

Reverse SSH Tunneling Question

I'm somewhat confused on reverse SSH tunneling and I'd really like someone to help me out. My Goal: I'd like to create a physical backdoor to a network using a BeagleBone Black (or RaspberryPi or ...
0
votes
1answer
22 views

How to share my puTTY SSH tunnel with another computer on LAN

I have SSH running on my home tomato router and connect to it successfully. I'm at a client and want one of my co-workers to be able to access a resource I have there and I tried having him connect ...
56
votes
2answers
59k views

How to convert .ppk key to OpenSSH key under Linux?

I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux? Is this possible ?
0
votes
0answers
11 views

SSH tunnel through Android

I've been having some trouble with SOCKs proxies and Windows. Currently I have mapped my local port 22222, to my ssh server at home. When I configure my browser to manually push all traffic through ...
3
votes
1answer
82 views

SSH suddenly asking for password

Note: this is a duplicate of this StackOverflow question, since ali786 suggested it would be better here. General problem I have my computer (Mac OSX 10.9.4) and a remote server (Ubuntu 14.04.1 LTS) ...
1
vote
1answer
34 views

How to create simple read/write login to specific folder on Linux server? (ftp/ssh/other..)

I've got a simple Ubuntu (14.04) server. I now want to give ftp or ssh access to a specific folder to a friend of mine. Either ftp or ssh would be fine, I'm just after a quick setup. The problem is ...
0
votes
5answers
26 views

History in bashrc on login vs manual sourcing - clearing and loading

I use a bunch of different aix machines at work and need to share users with co-workers. To make my life easier but not bother others with my customizations, I have created a .bashrc file that I copy ...
0
votes
1answer
22 views

VPS - Lost password and can't use blank pass via remote desktop connection

I am currently trying to login to my dedicated server, and have forgotten the password. I've tried many different things, and currently have SSH access. I boot the dedi into rescue mode (For the SSH) ...
0
votes
0answers
18 views

bash scripting with ssh

I am logging to a remote machine and doing some operation in a bash script. I used the following code but till chmod 777 $dbPath works and rest of the commands are not executed. ssh $node2user@$node2 ...
-2
votes
2answers
29 views

When I ssh just using the IP address, it port forwards directly to a specific computer

well, I have 5 computers and today, I set up ssh. I used port forwarding to lead to my 192.168.1.10 xbuntu. I have 4 other computers on the network However if I were to just ssh to my public IP that ...
0
votes
0answers
28 views

way to detect ssh client disconnection

How I can detect when a SSH client disconnects from my server? If the connection with the client is interrupted (the client doesn't send the disconnection command), my server application receives ...
11
votes
6answers
756 views

Alternative to SSH command line from Ubuntu

We have a machine at work that's running CentOS. In order to get into it, I use ssh. We're not allowed to install any window-management systems on it. Sometimes, I need to do a lot of work on it, ...
0
votes
3answers
1k views

“.ssh/config” E212: Can not open file for writing

I'm new to linux. I downloaded an image of ubuntu 12 for VirtualBox and I want to configure the .ssh/config file to access via ssh to an application in development. I access /home/ubuntu folder and I ...
4
votes
1answer
3k views

Can I set up KiTTY to send F7 press instead of bringing up Print dialogue when F7 button is pressed?

Can I set up KiTTY to send F7 press instead of bringing up Print dialogue when I press F7? I make intense use of Midnight Commander and its editor, which both rely on F7 (to create a directory and to ...
0
votes
1answer
52 views

Sourcing local .bashrc .vimrc without copy to remote machine

Does anyone have an idea or hack on how to source my local dotfiles (I will probably need more of them so this solution should work with many files) on remote machines without scp them to remote ...
0
votes
4answers
2k views

Not able to connect with server. Connection closed by remote server

I am trying to ssh remote server from my local server. But whenever i run ssh command: ssh root@x.x.x.x I get error: Connection closed by x.x.x.x Output of ssh -v -v -v -v root@x.x.x.x is: ...
0
votes
0answers
18 views

How do I connect to SFTP w/ lftp?

I usually hang out over @ stackoverflow, but I think I may just have a problem with my understanding of lftp itself. Using this handy wrapper (https://github.com/Atinux/node-ftps) for lftp on ...
0
votes
1answer
18 views

what are the proper steps to create an ssh with a dynamic IP in windows

today, I am asking a bit of a different scenario than the average person does. Also, not much information is not laying around on a DYNAMIC IP from my ISP and ssh into it from the outside. Anyhow, I ...
0
votes
1answer
18 views

Trouble Installing SSH with Cygwin

I'm using Cygwin (or more specifically zsh installed via Cygwin) and I've installed all of the ssh packages including Net/openssh, but when I try to run ssh (or things like ssh-host-config) I get: ➜ ...