Score:0

SSH port forwarding using python

eu flag

I have a VPS that serves as my VPN server, and I want to use this VPS as a VPN using forwarding for my laptop which uses windows as OS. Is it possible to do so without using software like PuTTY, Bitvise SSH client, etc.? For example, can I use Python code?

Jaromanda X avatar
ru flag
you could rewrite `ssh` in python, I'm sure python is a capable enough language to do so. By the way, what version of windows do you have? Windows 10 and 11 have openssh, I believe it comes as standard too
John Mahowald avatar
cn flag
What purpose does the port forwarding have, are you providing some kind of service that needs to listen on these ports? What VPN technology have you selected for this Windows host?
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.