All Questions
Tagged with forwarding ssh
33
questions
0
votes
0
answers
32
views
Mongoose not connecting after using Port forwarding
I get the Error:
err = new ServerSelectionError();
^
MongooseServerSelectionError: connect ECONNREFUSED **My Server IP/ PORT**
at _handleConnectionErrors (C:\Users\elias\source\repos\...
2
votes
1
answer
2k
views
Bash script to send commands to remote ssh session
Is it possible to write a bash script that opens a remote node (i.e. through ssh and/or slurm) and starts an interactive session there after running some commands? I'm trying to automate the process ...
3
votes
1
answer
204
views
Managing ssh keys
Suppose that I have a remote server and GitLab private repository.
I do not want to add key from my server to ssh keys in GitLab account, so I make ssh key forwarding.
However, when I try to run my ...
0
votes
0
answers
292
views
SSH session to computer, located behind Carrier-grade NAT and additional NAT
I have a Server computer (Windows) with public IP address and number of Node computers (Linux), which located behind CGNAT and additional NAT with private IP addresses.
Nodes are familiar with Server ...
0
votes
0
answers
97
views
In r over ssh, is there an easy way to detect the 'correct' local display for x11 programmatically?
My daily workflow involves sshing (with ssh -Y ...) into a linux cluster to compute in r. To keep my place, I use tmux to create persistent sessions for many reasons. Most of the time when I log in my ...
1
vote
1
answer
53
views
Can I use SSH tunnelling to forward a MySQL command?
I need to login to a MySQL server, but it only accepts logins from a certain IP. On the box with this IP MySQL client is not installed, however I have a box with MySQL that can SSH into the first one. ...
1
vote
0
answers
93
views
Forward X Display over multiple hops
Background:
I have the following topology:
A(Linux Laptop) <--> B(Linux Desktop) <--> C(Linux docker container on B)
From A I have setup:
ssh -NL 2022:C:22 B&
...and then from A I can ssh ...
0
votes
0
answers
122
views
side server ssh forwarding configuration
Hello I have the following problem;
I have a Server that I am configuring to learn a bit of infrastructure and use it to be able to run other services to be able to study other things (web ...
1
vote
0
answers
239
views
Questions on how to ssh into a remote server on Ubuntu 18.04 LTS
I'm a beginner in this sort of thing so I could use a bit of help.
I'm usually able to ssh into my school's local cluster using the following command in Ubuntu 18.05 LTS
ssh [email protected]
...
-2
votes
1
answer
611
views
How can I redirect multiple servers to a single one with ssh?
I would like to redirect multiple servers to a single one.
If a person wants to connect to the servers that are being redirected he needs to use a different port and username like [email protected] -p ...
0
votes
1
answer
2k
views
How can I use scp to aquire a file from a server via a bastion with ssh forwarding?
I'm wondering how to copy a file with scp (or a better way if possible) and allow ssh key forwarding. I've read a lot of posts on how to do this closely, but not with ssh forwarding, or the -A ...
1
vote
1
answer
906
views
X11 MATLAB Display Figure
I know it's possible to forward any output from a remote machine to a local one by using the X11 forwarding remote tunnelling, so that when you run a MATLAB command it will display all the graphical ...
0
votes
1
answer
4k
views
Create a Node SSH2 Server with ability to treat Remote Forwarding
After some research on staskoverflow, Google and official Node SSH2 repository, I still can not create a Node SSH2 server which work with remote port forwarding...
Actually I can do what I want with ...
3
votes
3
answers
2k
views
Transparent ssh connection forwarding to a docker container
I want to have a server to transparently forward an incoming ssh connection from a client to a docker container. This should include scp, git transport and so forth. This must work with keys, ...
0
votes
1
answer
3k
views
ssh tunnel doesn't work
Even though tunnelling using ssh is a well discussed topic in internet, I couldn't make my setup proper. This is what the problem statement I have
-> I have two servers A and B.
-> I am trying to ...