1
vote
1answer
523 views

how to connect to mongodb server via ssh tunnel

It was easy for me to connect to my remote mysql server on AWS using a sequelpro, however I'm struggling with doing the same thing with mongodb. I tried setting up an ssh tunnel via command line ...
-1
votes
1answer
60 views

SSH through another machine at work to an external server [duplicate]

I'm fairly sure this will have been asked before, I have found similar questions but I do not fully understand how to apply them to my situation. So, sorry for asking again. We have a number of ...
-2
votes
1answer
505 views

Impossible to connect ssh /root/.ssh/known_hosts': No such file or directory

I can't connect to my server with ssh. I have already started a session with ssh but i know if i quit this session, i won't be able to connect again to my server. ssh root@genese.com ...
2
votes
0answers
120 views

Unable to force passphraseless ssh authentication while port forwarding

I'm completely at a loss as to what is preventing my local machine from authenticating the connection that is being forwarded from the remote server. I've read a ton of the posts on here regarding ...
0
votes
2answers
254 views

Create an SSH tunnel with authentication keys - Syntax

I have to create an SSH tunnel to connect a deployment server to an VPN: DeploymentServer --> Gateway --> PrivateServer Each machine using a key, I tried the following command: myMachine $ ...
0
votes
1answer
113 views

ssh_exchange_identification: Connection closed by remote host remote desktop

I'm trying to connect to my work server using my macbook. in the morning it was working and now its not. This is what im doing ssh -vv muhammad@man.softwarehouse.com -L 1024:bolton:3389 This is ...
0
votes
2answers
100 views

Web server intermediary for public key authentication

My home network is currently sitting behind a DD-WRT router that I can access using public key authentication. Whenever I need to access something from my home network I can simply create an SSH ...
0
votes
1answer
105 views

ssh over a tunnel in order to configure auto login

I m trying to copy the id_rsa.pub key to the server. The server in my case also has a virutal machine called dev which runs on the host machine. I copied the id_rsa.pub key to the host for auto log in ...
2
votes
1answer
151 views

Why does ssh public key authentication stop working when I am tunneling ssh commands through a machine?

On Computer A, I have a public and private key for my github account. When I use this machine directly, using a connected keyboard and display, I can do all the git remote repo commands, like git pull ...
0
votes
1answer
58 views

Gaining access to remote server over SSH from the same machine but with a different IP address

If a user can access a remote machine using SSH ok but then their static IP address changes and they find they can't access the machine, what's the problem? I don't want to destroy the user's current ...
1
vote
2answers
672 views

Connect SSH Bastion Server to DB Server

I want to connect to a Linux Database Server on a private subnet through a Linux SSH Bastion Server situated on a public subnet. I also want to create a tunnel to port 3306. When I attempt to create ...
3
votes
4answers
324 views

Copy directory using ssh tunnel

The following command is working as expected. ssh soak@10.10.10.11 "ssh soak@10.199.199.191 'cat test.txt'" > /home/shantanu/test.txt What I need to do is to copy the entire directory instead of ...
1
vote
1answer
386 views

Cygwin: Run SSH.exe (without cygwin.bat) with a keypair

I have a box I'm trying to create an SSH tunnel to using a keypair without a password. If I run cygwin.exe and generate a keypair without a password using ssh-keygen and put the public key on the ...
1
vote
2answers
358 views

Setting up local IP based filtering with OpenSSH on Ubuntu

Greetings, the server admin for our company suddenly left, and left the rest of us IT folk somewhat clueless about Linux and setting up servers and such. The setup is as follows: Our local server, ...