<div dir="ltr">Thanks! <br><div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">I'm trying to ssh to tryhackme's server (the lag with the attack box is just too annoying). I figured out I had to install the server. but now when I run it it just logs me into my own system. Not tryhackme's. </span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">Here is what I did if you want to look:</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">michael@desktop1:~$ ifconfig</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">-snip-</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.xxx.yyy.zzz netmask </span></span><span class="gmail-x1fey0fg" style="font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">255.255.128.0</span></span></span><span style="font-family:inherit"><span style="font-family:inherit"> destination 10.xxx.yyy.zzz inet6 ------------------------ prefixlen 64 scopeid 0x20<link> unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 103 bytes 6600 (6.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 -snip-</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">michael@desktop1:~$michael@desktop1:~$ ssh 10.xxx.yyy.zzz ssh: connect to host 10.xxx.yyy.zzz port 22: Connection refused</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">(google told me service might not be running)</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">michael@desktop1:~$ sudo service ssh status [sudo] password for michael: Unit ssh.service could not be found.</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">michael@desktop1:~$ sudo systemctl start ssh.service Failed to start ssh.service: Unit ssh.service not found.</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">(google told me server might not be installed)</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">michael@desktop1:~$ sudo apt install openssh-server</span></span></div></div><div class="gmail-x1e56ztr" style="margin-bottom:8px;font-family:Helvetica,Arial,sans-serif;color:rgb(5,5,5);font-size:15px;white-space:pre-wrap"><div class="gmail-_1mf gmail-_1mj" style="direction:ltr;font-family:inherit"><span style="font-family:inherit"><span style="font-family:inherit">michael@desktop1:~$ ssh 10.xxx.yyy.zzz michael@10.xxx.yyy.zzz's password: 1 device has a firmware upgrade available. Run </span></span><span style="font-family:Menlo,Consolas,Monaco,monospace;font-size:14.1px;padding:1px 0.25rem"><span style="font-family:inherit">fwupdmgr get-upgrades</span></span><span style="font-family:inherit"><span style="font-family:inherit"> for more information. 1 device has a firmware upgrade available. Run </span></span><span style="font-family:Menlo,Consolas,Monaco,monospace;font-size:14.1px;padding:1px 0.25rem"><span style="font-family:inherit">fwupdmgr get-upgrades</span></span><span style="font-family:inherit"><span style="font-family:inherit"> for more information. Last login: Fri Jan 20 19:54:23 2023 from 10.x.yy.zzz michael@desktop1:~$ ls Business gparted_details.htm PIC06448.eARW PIC06948.cRW Templates crontab.log Jameson.oolite-save PIC06484.aARW PIC06948.dRW Videos Desktop Music PIC06484.eARW PIC06948.eARW Downloads 'My Games' PIC06948.aARW Pictures GNUstep oolite-saves PIC06948.bRW Public michael@desktop1:~$ exit logout Connection to 10.xxx.yyy.zzz closed. michael@desktop1:~$ ls Business gparted_details.htm PIC06448.eARW PIC06948.cRW Templates crontab.log Jameson.oolite-save PIC06484.aARW PIC06948.dRW Videos Desktop Music PIC06484.eARW PIC06948.eARW Downloads 'My Games' PIC06948.aARW Pictures GNUstep oolite-saves PIC06948.bRW Public michael@desktop1:~$</span></span></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 21, 2023 at 9:38 AM Snyder, Alexander J <<a href="mailto:alexander@snyderfamily.co">alexander@snyderfamily.co</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">You've got to be running an OpenVPN server.<div dir="auto"><br></div><div dir="auto">I'm running a pfSense firewall, and it has an option for setting up an OpenVPN server. I also have a TrueNAS system that also has the option of ruining an OpenVPN server. The point here, is that the software for running an OpenVPN server is diverse and flexible. Additionally, I have mine configured to not require a username or password, instead of checks for an authorized TLS certificate.</div><div dir="auto"><br></div><div dir="auto">Really handy. </div><div dir="auto"><br></div><div dir="auto">I traveled to the Midwest for Christmas and brought my laptop. It was really nice being able to connect the VPN and then have access to my local network, all the way from South Dakota!<br><br><div dir="auto">Thanks,<br>Alexander<br><br>Sent from my Samsung Galaxy S22+</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 20, 2023, 07:29 Michael via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">How do I access files on a remote network using openvpn? Everything I am finding with google is connecting to the external server but not how to access files on said server. Or wait... maybe I set open vpn up suuccessfullly! Next I would ssh the file?<br clear="all"><div><br></div><div><div dir="ltr"><div> ssh {user}@{servers ip address (found in ifconfig)} <enter> </div><div><br></div><div>it asks for password and then you treat it as if you are on your computer? </div><div>{user} & password= what I signed up with</div></div><div><div style="margin:5px 0px"><div id="m_-2369367663643195535m_-5752632154847378483gmail-q_136" style="background-color:rgb(232,234,237);border:none;clear:both;line-height:6px;outline:none;width:24px;color:rgb(80,0,80);font-size:11px;border-radius:5.5px"><br></div></div></div></div></div>
---------------------------------------------------<br>
PLUG-discuss mailing list: <a href="mailto:PLUG-discuss@lists.phxlinux.org" rel="noreferrer" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br></div></div></div></div></div>