Score:0

why ssh Local Dynamic forward doesn't work on centos

ie flag

I wanna to create a local dynamic forwarding in centos without using another machine as a proxy. so I used dynamic forward command and is working fine in one of my centos vms as vm1.

ssh -fN -D 0.0.0.0:8090 root@localhost

but in another machine (vm2) doesn't work properly. looks like there is a network routing issue or something like that in localhost! because if i using vm1 as proxy to vm2 forwarding traffic will be work fine.

ssh -fN -D vm1:8090 root@vm2
  • both vms sshd config files are the same.
Salar avatar
vi flag
just guessing, check if second vm is not already listening on port 8090
mr.bug avatar
ie flag
lsof -i :8090 ssh 12997 root 4u IPv4 7696789 0t0 TCP *:8090 (LISTEN) just ssh...
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.