9Lt4bwuxNkXP 0 Posted ... I am trying to use AirVPN to SSH into a computer. How do I do this?I have tried the .sh file I got from the SSH tutorial, but when I try to connect to the computer running it, I can never log in (permission denied).Trying to use OpenVPN as root with the .ovpn file caused errors about not being able to connect. Quote Share this post Link to post
cm0s 118 Posted ... good to meet ya, yer first post aaahhhhh the ssh joyz, i still get them myself easiest way to get help with your ssh is post up some logsuse verbose blur out anything don't want others to reador copy paste and use 'xxxxx' sumthin like that here's a link to help with troubleshootingbut back to your question first it could literally be a number of thingswhy the logs will help so can at least narrow it down for myself a lot of the times yeah it was permissions and i had my permissions set wronganother time i forgot i had my firewall to allow only xyz ip addy and that was on my own network, i literally spent a few hours 'troubleshooting' my own security i set in place tbh what i basically did when starting out on ssh was dial into the box next to me and just kept tweaken ittill i got the security settings i liked and the configs i liked one time i forgot to turn ssh on on the other box so can be many thingssometimes it'd work for me other times not you can copy id and it's automagical anyway here's a link to help in the meantime:https://help.ubuntu.com/community/SSH/OpenSSH/Configuring cheerz Quote Share this post Link to post
9Lt4bwuxNkXP 0 Posted ... @cm0s I realized I was doing something wrong, and now I realize I probably should run the sh file on the target PC (one I want to connect to with SSH) and the ovpn file on the PC I am trying to connect with (the 'client'). Or maybe the other way around? Either way, I still get connection problems. When running the ovpn file, I get "TCP: connect to [AF_INET]127.0.0.1:1412 failed" on both client and target. Using the sh file on the client machine I get prompted for sshtunnel@[target's AirVPN IP address]'s password, and on the target machine I get "ssh: connect to host [target's AirVPN IP address] port 22: No route to host" The ssh daemon is turned on for the target, but not the client. Quote Share this post Link to post
dr_kristau 5 Posted ... anyway here's a link to help in the meantime:https://help.ubuntu.com/community/SSH/OpenSSH/Configuring cheerz Does this mean we need an SSH server and not just the client to get the AirVPN ovpn file to run? I'm still getting the "127.0.0.1:1412 failed" error when I run it. Thanks! Quote Share this post Link to post