An SSH tunnel provides an encrypted channel based on the SSH protocol.
0
votes
1answer
13 views
How can I mount a remote sshfs directory of an publicly inaccessible server on my inaccessible client machine? [duplicate]
This is an extension of the question by @Andrei
How to mount remote SSHFS via intermediate machine? Tunneling?
I'm in the same situation that I want to mount a remote directory, however the ...
5
votes
1answer
60 views
Forward all ports SSH
I have a question about SSH/Port forwarding. I haven't found the solution anywhere and don't know if there is any.
I have a server behind my NAT box at home. I have port forwarding from my NAT box to ...
1
vote
0answers
73 views
Disable SSH Tunnel with KVM VNC Server
Here at work we've set up a KVM server that hosts a couple guest machines. The KVM itself is headless and we remote into whenever needed, but we would like to be able to VNC into the guests. I have ...
3
votes
2answers
76 views
Grant ssh access for single session
I wonder if there is a tool/modified ssh-server/ssh option which enables me to grant ssh access for a single session to a given user. What I want to avoid is creating a user account and password for ...
2
votes
1answer
111 views
SSH via Corkscrew to a remote server not working
I am trying to SSH to a remote server from my college network (proxy). However, I am getting this error whenever I try to SSH to the host
ssh_exchange_identification: Connection closed by remote host
...
0
votes
1answer
48 views
SSH -L Tunnel no longer working
Local machine running my scripts needs to access a remote server's DB.
Last week I could do, on the local machine
ssh -f -N -T -L1081:localhost:3306 ueser@remoteserver -p2222
on the local machine:
...
3
votes
1answer
200 views
Tunnel AFP over SSH over Internet
I can't seem to figure out how to connect to AFP over SSH. Here is my setup:
[Raspberry Pi] <---> [router] <---> (Internet) <---> [Client]
I'd like to be able to connect to my ...
2
votes
1answer
120 views
Is there anyway to run gnome desktop via a remote x window ssh tunnel?
I'd like to run the DE remotely in a window of it's own on my local workstation. When I tried the naive gnome-session from an x-window tunnel it tried to takeover my local xfce desktop, got as far as ...
1
vote
2answers
308 views
Tunnelling VPN through SSH mac
I have a pptp VPN server set up on my Raspberry Pi at home, and it works really well, except when I'm stuck behind my college's firewall. I can SSH into it through commonly open firewall ports (443, ...
0
votes
1answer
99 views
Using ssh_alias with ssh tunneling
I am using ssh tunneling to login to system behind gateway.
Problem is that I have ssh_alias defined in ~/.ssh/config on gateway server.
Where I have key and ip setup.
But those alias don't work ...
1
vote
3answers
179 views
Is there a way to have regular expression in ~/.ssh/config
I have two set of server. Test on production.
All server have internal ip.
currently I am using alias to login:
Host pro-10
Hostname 192.168.1.10
ProxyCommand ssh production-server nc %h %p
For ...
1
vote
2answers
135 views
Bypass sshd AllowTCPFowarding=no by installing own forwarder?
In the man pages for sshd_config, for the AllowTCPForwarding option, it states:
AllowTcpForwarding
Specifies whether TCP forwarding is permitted. The default is “yes”.
Note that disabling ...
4
votes
3answers
546 views
How to access a machine behind a restricted NAT gateway I don't manage?
I have a linux machine that I'd like to be able to access remotely for SSH, FTP, HTTP, and so forth. I signed up for Dynamic DNS with No-IP.com, but this isn't adequate because I am on a college ...
2
votes
2answers
350 views
Setup ssh tunnelling to browse using the IP of a computer inside a private network
I think my question is much easier to understand looking at the draw below. The idea is that for some reasons (such like accessing the intranet of my company, or getting access to some web pages that ...
3
votes
1answer
249 views
How to set up SSH on Ubuntu desktop and bind sub-domain to it for remote access outside network?
I am pretty to new to SSH and I have a question regarding access to my machine outside network.
I have a Linux machine sitting in my apartment running almost all the time and connect to the network ...
1
vote
0answers
182 views
creating secure tunnel with socat
How we can create secure multicast tunnels with socat?
Assume we have a list of IP addresses, CIDR network addresses that we want to create secure tunnel to.
I found this:
socat STDIO ...
1
vote
2answers
245 views
SSH tunnel to MySQL for PHP scripts
I need to establish an SSH tunnel so that my local PHP script can connect to a MySQL server on a remote server.
Remote machine: MySQL (127.0.0.1:3306) on Linux (SSH port 44422)
Local machine: Linux ...
2
votes
2answers
563 views
autossh in /etc/inittab
I have setup ssh tunnel to be able to connect a target computer behind NAT. I have put the following into /etc/inittab on the computer:
tu:2345:respawn:/usr/bin/autossh -M 20000 -f -n -N -T -R ...
10
votes
1answer
370 views
Understanding SSH tunnels
I have linux (Ubuntu) server which I have root access to through ssh (port 22) only. On that server there is a MySQL database listening on port 3306. Is it possible to use putty (on my machine) and ...
1
vote
1answer
255 views
Double SSH tunnelling for SMB shared folder
I am actually working from PC1 (using Mac OSX) on a distant computer(Linux) PC2 using SSH.
This distant computer PC2 does not have any connection to Internet but is in a network with a PC3 (Windows ...
2
votes
1answer
244 views
create a tunnel to a local server
Using a VPN, I am connected through SSH on a distant Ubuntu Computer. From this computer, I can browse using telnet through a local server (192.168.x.x).
Is there any way, from the terminal or ...
1
vote
0answers
176 views
Reverse tunnelling with “stunnel” in linux
Scenario:
Central Log-Server(logserv)- only private IP interfaces
Multiple client servers (logclient)- has public IPs.
Requirement:
Need to tcp logs of syslog application from various logclients ...
2
votes
2answers
1k views
SSH jumping over socks(4/5) proxy chain. Host -> socks proxy -> socks proxy -> destination
I got a great answer for my previous question about connecting from Machine A to Machine C via Socks proxy located on Machine B.
Say Machine B Ip is 218.62.97.105 and it is listening on port 1080
...
5
votes
1answer
2k views
SSH over Socks proxy without username or password
I have a list of SOCKS proxy servers from this site.
I've read about creating a dynamic tunnels with ssh -D and to be honest i've tried that already. Unfortunately for some reason I cannot connect to ...
0
votes
1answer
132 views
How to run svn when ssh over ssh?
I need to run sudo -u wwwrun sh -c 'svn status -uq /srv/www/htdocs/loquat' over ssh. When using one ssh it works smoothly. Now there is one server that needs to be connected through another server via ...
2
votes
1answer
168 views
ngircd refuses connection over ssh tunnel
This might be just a misunderstanding of how ssh tunneling works, but here goes:
In my ngirgd.conf file I have the following:
Ports = 6669
Listen = 127.0.0.1
This ngircd server is running on ...
2
votes
1answer
157 views
Tunneling SSH through multiple machines (for SOCKS)
I have seen questions on tunnelling SSH through multiple machines but I want to tunnel a SOCKS connection.
Normally I would use something like ssh -C2qTnN -D 8080 username@remote_machine to make the ...
1
vote
1answer
263 views
How do I tunnel SSH over SSH?
I have successfully setup a tunnel over SSH on linux mint, and can browse the web.
However, when I try to ssh using the same port, I get:
Couldn't establish connection to proxy: Network is ...
2
votes
2answers
703 views
How to login from remote server to my own PC?
For the experiment purpose I need to login to my own PC from the remote PCs which are under the same domain, i.e: university network. How can I do remote login in this case using SSH?
As an example, ...
14
votes
2answers
4k views
How does reverse SSH tunneling work?
As I understand this, firewalls (assuming default settings) deny all incoming traffic that has no prior corresponding outgoing traffic.
Based on Reversing an ssh connection and SSH Tunneling Made ...
2
votes
0answers
180 views
How do I route a spare network interface through an SSH tunnel?
I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
5
votes
2answers
192 views
Is there a xterm equivalent that is optimized for use over VNC?
tl;dr Is there a terminal emulator that uses rectangular copies for scrolling?
I'm doing a lot over work over the internet just now (hacking a program on my employer's cluster that can't be ...
2
votes
1answer
605 views
system wide SOCKS5 Proxy
I connect to my Server on the internet using ssh -D 3128 user@rootserver.com. If I am right I thereby open a SOCKS v5 Proxy to my Server. Using firefox and FoxyProxy I can now add this to my proxys ...
4
votes
2answers
277 views
How to use rsync with a remote remote host
I am a happy user of rsync -e ssh and use it to synchronize data between my machine and a remote host using
rsync -avz -e ssh me@hostA:~/folder ~/folder
And this did what I needed until now.
I am ...
5
votes
1answer
1k views
How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
I'd like to accept connections briefly for development when I'm NATed, and so I'm attempting to do this:
$ ssh ubuntu@example.org -R 80:localhost:80
Which fails as I'm trying to bind a port that is ...
2
votes
2answers
272 views
Trying to create tunnel to mysql through SSH
Im in a bit of a bind here. I have a client that want's me to set up his website, but he runs the server w/ SSH and CentOS 6.2 as it's OS.
Now, I'm trying to add the sql server on Mysql Workbench for ...
2
votes
1answer
159 views
How to recover from a corrupt xdebug session?
Sometimes my local computer crashes when I'm in the middle of a xdebug session. When I reconnect to my remote server with a reverse shell I get this warning:
Warning: remote port forwarding failed ...
0
votes
1answer
126 views
General Setup on remote programming
I have the following 3 units
A laptop that runs both MAC/Ubuntu
A home-based server with Ubuntu desktop version
A wireless router which I got from the provider that does not have that much ...
4
votes
4answers
637 views
SSH tunnel hanging
I'm trying to use an SSH tunnel from home to a computer in the university so I can access some articles.
Both machines are running Ubuntu 11.04, the university machine runs openssh-server.
I my ...
0
votes
0answers
107 views
Xdebug not working over a reverse shell
I've opened a reverse shell to my remote server to tunnel port 9000 to my local machine like this ssh -R 9000:localhost:9000 you@remote-php-web-server.com but but it doesn't work. The reverse shell ...
1
vote
1answer
362 views
Specifying outgoing interface for SSH tunnel
I have a machine with two public IP addresses on two interfaces. This machine is running sshd. Is there a way to specify, when creating a tunnel with a SOCKS interface (i.e. -D), which interface to ...
1
vote
1answer
423 views
how to specify the forwarding port when using multiple tsocks services?
According to the answer of this question, I have my /etc/tsocks.conf containing these lines:
path {
server = localhost
server_port = 1081
reaches = <ip-address-of-server-b>/32
}
path {
server = ...
1
vote
1answer
135 views
Are the SSH manual pages wrong?
The ssh manual pages states the following:
-L [bind_address:]port:host:hostport
Specifies that the given port on the local (client) host is to be
forwarded to the given host and ...
6
votes
3answers
1k views
Are there disadvantages in SSH tunneling?
I recently "bought" a VPS that I want to use as a Proxy to be able to use some sites and stuff that I can't reach from germany.
Since I was yet too lazy to set up Squid and OpenVPN (which I ...
4
votes
1answer
794 views
How to print from remote over SSH to local LAN printer?
OK, so it is fairly straight forward to to run apps from a remote server on my local X screen as though they were local apps. The question is, when trying to print, the remote app only sees printers ...
0
votes
0answers
159 views
Problem in using SSH tunnel
In a network, due to a reason that I don't know, I can't browse the web in Linux(In windows it has no problem). I get Error 301 moved permanently when I try to load a web page.
I decided to bypass ...
2
votes
1answer
198 views
How to setup port redirection after a ssh connection has been opened?
I'm using openssh on both client and server. I know I can run ssh -L or ssh -R to setup some port redirections over ssh. However, since they are command-line parameters, such redirections must be ...
11
votes
2answers
3k views
How do I know if my ssh tunnel is created successfully?
I rely on the following script tunnel.sh written by others to keep a ssh tunnel alive:
#!/bin/bash
export SSH_HOST=tim@server
if [ ! -f /tmp/.tunnel ]
then
echo "Creat SSH tunnel"
ssh -f -D 9999 ...
4
votes
1answer
219 views
SSH HTTP Tunnelling
I am trying to set up an SSH account on my server for someone, and I only want to give them access to tunneling internet traffic. I set their user's "shell" to /bin/true, so now when they SSH (and ...
6
votes
2answers
951 views
Enabling system management privileges for non-local users - How the heck does `polkit` work, anyways?
I am managing a CentOS 6.2 server remotely using X over SSH (actually NX, but that's just a proxy).
The Everything is working correctly, except when I try to do tasks that would normally require ...