Week 6 - Remote Access Flashcards
What is PuTTY?
Open-source software that enables a user to establish remote desktop connections using various protocols like SSH
What’s the default port that the SSH protocol uses?
Port 22
How do you start PuTTY from PowerShell?
putty.exe -ssh vanes@ipaddress port#
What tool does PuTTY come with? What does it allow us to do? Windows
Plink or PuTTY link
It allows us to establish remote connections from the command line after PuTTY is installed and make remote SSH connections too
What does RDP stand for and what does it do in terms of the Windows OS?
RDP = Remote Desktop Protocol
The protocol that allows us to connect to other Windows machines (other OS have compatible RDP clients)
What does mstsc.exe stand for? Windows
Microsoft terminal services client
What is mstsc.exe used for? Windows
mstsc is used to create the actual RDP connections to remote computers
Why is SSH useful?
Allows us to connect to a Linux machine from a Windows Machine
What are 3 ways you can start a remote desktop connection on Windows?
- Command Line (can add /admin for admin privilege upon connection)
- Search Remote Desktop Connection
- Run mstsc
What is SSH and what does it stand for?
SSH = Secure Shell
SSH is a networking protocol that allows us to establish secure remote connections with computers on an unsecured network
What are 4 ways that SSH is used?
- File Transfer
- Remote Connections
- Executing Commands
- Manage network infrastructure
What is Open SSH?
An open-source version of SSH tools, used by Linux and other OS admins for cross-platform remote system management
Name the 5 SSH clients that are Windows compatible
PuTTY
SecureCRT
SmarTTY
mRemoteNG
MobaXterm
What is the command you use in Linux to copy files between computers on a network?
Secure Copy
scp
What’s an example of the secure copy command in use on Linux to transfer the desktop file myfile.txt to cindy?
scp (filename want to transfer) (useracc/hostname want to send to)@IPaddress:
scp /home/cindy/Desktop/myfile.txt cindy@104.131.122.215:
How do you transfer files on Windows? What tool do you use?
PuTTY package comes with a tool called Secure Copy Client or pscp.exe
What’s an example command of using PuTTY’s secure copy client to transfer the desktop file my_file.txt to cindy’s Linux workstation from Windows?
pscp.exe ~\Desktop\my_file.txt cindy@101.43.11.892:
What if you need to share multiple files from Windows? What do you use?
If you need to share multiple files, use shared folders
3 steps to sharing folders on Windows?
- Right click on folder you want to share
- Hover over “share with”
- Pick the selected users
What are 4 steps to setup access for your folder on another computer? Windows
- go to “this pc”
- go to the “computer” tab
- select map network drive
- on another computer, can visit folder from the “run” box /computername/foldername
When would you need to use the “map network drive” option?
When you want to map your folder to be accessed from the network
What command lets you share folders on Windows?
net share
Show an example of using the folder share command on Windows to share a folder called ShareMe with everyone, giving them full permissions
net share ShareMe=C:\Users\cindy\Desktop\ShareMe /grant:everyone,full
In order to use the net share command on Windows, what do you need to specify in terms of users?
What permissions you want to give which users
Besides transferring files, what else does the net share (without attributes) command show us? Windows
Shows us what folders are currently being shared on your computer