03
This week is focused on getting connected with Secure Shell and talking about the methods and considerations when connecting to a "remote" computer even if that computer inside your host computer.
START (20220522170124)
- Help us with timestamps (20220522171336)
- Boost sessions moved to Sunday (20220522171712)
- How to connect to our VM (Secure Shell)? (20220522173234)
- What is NAT and Bridged? (20220522174202)
- What is an IP Address? (20220522174927)
- What is
git-bashand why would I need it? (20220522175639)
BREAK (20220522180935)
- Why can't I use the 127 address? (20220522182241)
- How can you test [[ssh]] connection to localhost? (20220522182905)
- What is a "user" and "userid"? (20220522183516)
- How can see stuff scrolling off screen? (20220522184810)
- What package needs to be installed to connect with [[ssh]]?(20220522184900)
- What is the correct
sshconnection address? (20220522190058) - What about
cmd(DOS)? (20220522191246)
BREAK (20220522191428)
- What about
puttyfor [[ssh]] access? (20220522192740) - What are your favorite [[Windows]] Terminal settings? (20220522194907)
- Should I use VSCode and how? (20220522200053)
- What is JSON? (20220522201201)
BREAK (20220522202837)
- Remote access considerations? (20220522204355)
- Hack for "good", honeypots are more fun? (20220522205233)
- How can I get a VM on the Internet? (20220522205617)
- DigitalOcean.com
- GCP
- AWS
- Vultr.com
- linode.com
- (be careful out there)
- How to start VM "headless"? (20220522211658)
- From the GUI
- From (DOS) command line
- What is minimum Vi/m that I need? (20220522212640)
- Why is
nanothe devil? (20220522214104)
Commands¶
ip a- show all IP addresses (ipconfig /all, on [[Windows]])clear- clears the screenwhich ssh- display full path to [[ssh]] programtype ssh- display what type of thing it iswho- display who is logged in an howid- display user and group names and ids for selfw- display logger version of who is logged inwhoami- print effective user name/IDusers- short name of all logged in userslast- summary of last logged in usersexit- exit the current program or login or shell| lessor| more- see scrolled output in terminal (qto quit)<Ctrl>-c- interrupt whatever (exit)<Ctrl>-d- send "end of data/file"sudo apt install openssh-server- install [[ssh]] server (if not)vboxmanage startvm <VMNAME> --type headless- start vm headlessvboxmanage list runningvms- list running vmsvboxmanage list vms- list all vmsvboxmanage controlvm <VMNAME> poweroff- power off headless vmvim- basic vim [[https]]://rwx.gg/visurvivenano- just so you understand nano editor is a thing
Related¶
- [[https]]://www.virtualbox.org/manual/ch06.html
- [[https]]://try.digitalocean.com/freetrialoffer/
- [[https]]://cloud.google.com/compute/docs/create-[[linux]]-vm-instance
- [[https]]://www.how2shout.com/[[linux]]/use-command-line-to-create-list-start-stop-virtualbox-vms/