Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
143 views

Double SSH then execute NC using Batch file and Plink

Good morning, I need to execute a netcat command and get the output to do elaboration on my local PC (windows). I just need the "connection good/bad" Now I use PuTTY using the following step ...
ThEnGi's user avatar
  • 1
0 votes
1 answer
2k views

Bypass Linux password login with netcat or ssh or telnet

How can you bypass a password login with nc or ssh? I type 'nc IP-address 13880' and it gives me the login form I need to bypass. Can anyone give me any tips?
Ollie's user avatar
  • 143
2 votes
0 answers
445 views

How to transfer files between two hosts through a bastion using netcat and pigz

I have to regularly transfer the contents of folders containing a lot of small files with a volume of around 10GB from one server to another. Before I used the command bellow which did the job very ...
Abe Rad's user avatar
  • 21
1 vote
1 answer
564 views

SSH'ing through a proxy with CentOS 8

I'm using CentOS 8, and I'm trying to SSH from behind a firewall through a (HTTP but also somehow SOCKS) proxy. I've read this answer, which suggests using nc -X - but my nc doesn't support that. I'...
einpoklum's user avatar
  • 10.2k
0 votes
1 answer
542 views

Apply jumphost's .bashrc to server during ssh from client?

With the following topology: +----------+ ssh -J +--------+ +--------------+ |clienthost| =========> |jumphost| ====> |restrictedhost| +----------+ +--------+ ...
Sridhar Sarnobat's user avatar
5 votes
2 answers
5k views

Use rsync with nc as transport layer

By default, rsync uses ssh as a transport layer. Unfortunately with fast local network, ssh is very slow. Is it possible use rsync with netcat / nc ? I have make some experiments, but it does not ...
Znik's user avatar
  • 366
0 votes
1 answer
283 views

Unable to reach computer in same network

Assume two machines that connect to a wireless router (Archer C7 v2) and are part of the same LAN. Pinging machine A from machine B works, but ssh, telnet, netcat fail. Why? Details Machine A (...
Kostas's user avatar
  • 103
4 votes
1 answer
1k views

How to get an ssh socks proxy on demand?

I know ssh provides a SOCKS proxy with -D. I wonder if it's possible to start such a proxy on demand, the moment a connection is made to a specified port (using the likes of socat and nc under the ...
Matei David's user avatar
1 vote
1 answer
2k views

Use netcat to bridge thru firewall?

I have a machine behind a firewall. It's my machine, I have set up ssh, but it's completely firewalled. My solution has been to use a reverse shell set up on a cron basis to reconnect if it fails ...
justin's user avatar
  • 121
3 votes
1 answer
2k views

X11Forwarding using SSH and Netcat

From my machine, I must connect through nodes A, B, and C, to reach target: localhost -> A -> B -> C -> target Machine A is configured to refuse X11 Forwarding, so I guess I shouldn't ...
Rubens's user avatar
  • 670
1 vote
2 answers
3k views

ssh -R then expose the local port over HTTP?

Here's my scenario, I have two machines, A and B. A is behind a VPN, so B can't get to A. I have a web server: machine_a$ curl localhost:8088 "hello from machine_a" I have executed a remote SSH ...
weisjohn's user avatar
  • 160
1 vote
2 answers
2k views

Two hop SSH with multiple user names

I am trying to set up an ssh proxycommand, where the user name at the final host is different from the user name at the original host. I am logged in on firstHost as username and want to effectively ...
Troy Daniels's user avatar
1 vote
1 answer
2k views

Can I stop a netcat tar pipe and continue later without overriding existing files?

I'm trying to copy a lot of files from my NAS to my server, about 2TB. I found that using a netcat tar pipe to copy the directories goes pretty fast, about 40mb/s. It seems to work faster than rsync ...
redn0x's user avatar
  • 23
0 votes
1 answer
1k views

How to purge connections left open by SSH ProxyCommand?

I have a webserver WWW1 and a front-facing proxy PRX. I use SSH ProxyCommand to connect to WWW1's internal IP (private IP) via PRX (private+public IP). For some connections (not all) I see a network ...
Chris Burgess's user avatar
1 vote
2 answers
3k views

nc or socat: How to read data from remote:/dev/ttyACM0?

I have a device running at a remote computer on /dev/ttyACM0 Now I want to read that data on my computer. I can connect to it over ssh. Unfortunately I am a nc/socat rookie and no howto covered this. ...
AndreasT's user avatar
  • 769