Remote Access

Ace your homework & exams now with Quizwiz!

Secure copy (SCP)

A command you can use in Linux to copy files between computers on a network. It utilizes SSH to transfer the data.

PuTTY

A free, open source software that you can use to make remote connections through several network protocols, including SSH.

Secure shell (SSH)

A protocol implemented by other programs to securely access one computer from another.

Plink (PuTTY link)

A tool that comes with PuTTY which is built into the command line after PuTTY is installed. This can be used to make remote SSH connections too.

What do you see when you open PuTTY in the Windows GUI?

A window will appear showing you the basic options for you connection. Make a note of the host name, port, and connection type options. All you need to do is type in the host name or IP address of the computer you want to connect to, then click open to start up a new SSH session.

Remote connection

Allows us to manage multiple machines from anywhere in the world.

Virtual Private Network (VPN)

Allows you to access resources like shared file servers and network devices as if you are connected to your work network by connecting to a private network over the Internet.

What must you have to use SSH?

An SSH client installed on the computer you're connecting from along with an SSH server on the computer you're trying to connect to.

What is an alternative way of authenticating to remote machine that is more secure?

By using an SSH authentication key.

True or False: An SSH server is another physical machine that serves data.

False; an SSH server is software.

True or False: You can only access PuTTY from the Command Prompt.

False; you can access PuTTY through the GUI by searching PuTTY in the start menu or you can access it using PowerShell by typing out the application name, putty.exe in the prompt.

Remote Desktop Protocol (RDP)

Microsoft provided way to connect to other Windows computers. This provides users with a graphical user interface to remote computers, provided the remote computer has enabled incoming RDP connections.

How do you establish an SSH remote connection using PuTTY in the Windows GUI?

Open PuTTY, type in the host name or IP address of the computer you want to connect to, then click open to start up a new SSH session. The console will show login as: where you will fill in your login name and then enter your password. This will establish the remote connection.

How do you establish an SSH remote connection using PowerShell?

Open a PowerShell prompt and type out the application name, putty.exe then tell it you want to connect via SSH by adding the -ssh option. You could also provide the user and address in the form of user@IP address and specifying the port at the end. Which would look like this: putty.exe -ssh [email protected] 22

What is the most popular program to use SSH within Linux?

OpenSSH

How can you enable remote connections on your Windows computer?

Opening the file explorer, right clicking on "This PC", then selecting "Properties". From there, select "Remote Settings", and then pick an option from the Remote Desktop portion of the panel. Once you've allowed connections on the remote computer and provided you're on the list of users allowed to access it, you can use the Remote Desktop Protocol client (mstsc.exe) to connect to it from anywhere else on the network.

What is the most popular program to use SSH within Windows?

PuTTY

What can be useful if you want to connect from a computer running Windows to a Linux-based OS running remotely?

SSH

Using PuTTY or SCP to transfer files can be a little time-consuming, especially if you need to transfer files to multiple machines. What built in mechanism did Windows come up with as an alternative?

Shared folders

Once you've shared a folder, how can you access it from other computers?

Start by opening up This PC, then going into the Computer tab. And from here, you can map the folder directly to your computer with the Map Network Drive option. Finally, on another computer, you can visit it directly from the run box by typing in \whatever the computer name is, and then \the folder name that you mapped it to.

By default, what is the port set to for SSH?

The port is set to 22 which is the default port the SSH protocol uses.

Typically, in an industry setting, who sets remote connection settings?

The system administrator for the company's computers that connect to the network.

What does it mean if you get the following message using SSH: The authenticity of host 'IP address here' can't be established.?

This message is just saying you've never connected to this machine before and the SSH client can't verify or connect to a machine you want to connect to. If you can verify this is the right machine, you can type yes.

Besides SSH, what is another way that you can connect securely to remote machine?

Through VPN

PuTTY Secure Copy Client (pscp.exe)

Tool that comes with the PuTTY package that you can use to copy files in a very similar way to the Linux scp command.

Microsoft Terminal Services Client (mstsc.exe)

Used to create RDP connections to remote computers.

What do you need in order to login to a remote machine?

We have to have an account on that computer, we also need the host name or IP address of that computer.

net share command

Windows command that lets you do the same thing as the GUI sharing workflow, and you'll need to specify what kind of permissions you'd like to give which users. This can also be used to list the currently shared folders on your computer by executing it without any arguments.

How do public and private keys work, basically?

You can lock something with the public key, but you can only unlock it with a private key and vice versa.

How do you launch the RDP client in Windows?

You can type "mstsc" at the run box or look up Remote Desktop connections in the Start Menu. You can also launch it from the command line, where you can specify more parameters like /admin if you want to connect to the remote machine with admin credentials.

Example of giving everyone on your network full permissions to a folder called shareme:

net share ShareMe=C:\Users\cindy\Desktop\ShareMe /grant:everyone,full

SSH keys come in a set of two keys called what?

private and public

Example of copying over a file from one computer to another computer using SSH in Windows:

pscp.exe C:\Users\cindy\Desktop\my_file.txt [email protected]:

Example of copying over a file from one computer to another computer using SSH in Linux:

scp /home/cindy/Desktop/myfile.text [email protected]: In this example, we run the scp command with the path of the file we want to transfer to the user account, hostname, and path of where we want to copy the file to. Now, it prompts us for the login info of the computer we want to send the file to. After we enter this, we can verify that the file successfully copied over.


Related study sets

chapter 4, chapter 3, chapter 5, clin psych ch.1, 2 bnks, chapter 7, Chapter 8

View Set

Practice Test 2: PMBOK 7 and Process Group Practice Questions (251 to 500)

View Set

1.03 Production Possibilities Curve

View Set