Setup SSH Server on a Linux Guest VM with Virtual Box - NAT and Port Forwarding

preview_player
Показать описание
Buy CSG Merchandise:

How to setup the SSH server on a Linux guest virtual machine within Oracle Virtualbox. Including the instructions to setup port forwarding for NAT connections or Bridged network instructions.

Commands used in this video:

sudo yum install openssh

sudo systemctl start sshd
sudo service sshd start

sudo systemctl status sshd
sudo service sshd status

sudo systemctl enable sshd
sudo chkconfig sshd on

firewall-cmd --zone=public --permanent --add-service-ssh
Рекомендации по теме
Комментарии
Автор

Finally, an English speaking person explaining RedHat properly

TalsonHacks
Автор

My lecturer took 1 hour to explain this, you did it in 8 mins

muhammadariffin
Автор

Thank you. Realised what I was doing wrong after watching your video.

vitaliykondrenko
Автор

Amazing! you just resolved my peoblem. Now I am able to connect. Thanks a lot

nilanjanmandal
Автор

Can somebody explain please what's the point of installing SSH server instead of connecting with in built ssh via putty for example, as a machine is just a local one?

Diegunio
Автор

when I tried NAT port forwarding options I cannot access and getting connection timed out. Do you have any idea what may be the reason?

fahmiresali
Автор

If you run VM in headless mode this doesn't mean that GUI isn't working.
It means that you aren't connected to VM console. Processes responsible for GUI are still running

LeserGD
Автор

Are these courses still viable for the current RHCSA and would it work just as fine to follow through with CentOS 8 instead of RHEL?

trickjay
Автор

please how to get centos 8 linux or higher to study rhcsa

ALI-xplh
Автор

does it work over the internet ? Or just within the local network ?

amantiwari
Автор

How Do I Download Kitty and have it set up the way that you do. I haven't seen it in the beginning of this series, until you just pulled it up

drod
Автор

Great instructions. Easy to follow. When I attempt to SSH via Kitty I get an access denied when entering my passphrase. I can get a SSH connection within my VM. Any suggestion why this might be happening?

GeorgeTimmermans
Автор

Why are all courses on RHEL always using the GUI when nobody uses the GUI on servers in enterprises? That always puzzled me. I did my RHEL 6 RHCSA many years ago and was very surprised that we weren't even going through the command-lines for anything other than basics unless you asked the teacher "on the side", and the final exam didn't require you to know them either.

YanickGirouard
Автор

firewall-cmd --zone=public --permanent --add-service=ssh
last command in video caption "=ssh" not "-"

noranseliem
Автор

on the first video of the course you did NAT Network and here you did NAT. also it's neither RHEL8-Server nor RHEL8-Client you created on the video before. it's confusing to know what's going on

michaelderei
Автор

Hi colin Can You guide withe the following
1)How to Create repository
2) How to create logical volume
3)How can we add swap size
4) What is vdo and ho do we create one

saiftahir
Автор

sudo systemctl status sshd
command not found

rubk
Автор

Thank you so much I realy like your videos but the thing that I don't like, you are doing everything through virtual box.I don't think that in the exam we will use virtual box and for most of us an example vmware is much more easy and fast.I didn't even enabled all the settings that you did on first lecture and this but there wasn't any problem with connecting through ssh.I did what you did on this lesson now and it still works.I think you had to dk them because you are using virtual box.I am not against that but it is just a little bit bad for who use vmware.Also you are doing port forwarding through virtual box i wonder why...You change the port number from you terminal and this must be good information for everybody..

someone-jozy
Автор

Ive watched the first two videos and a lot of times it seems you are just showing and not tutoring. You write certain commands and dont say what they are for so it just looks like a cram and pour video. Kindly clarify more

austinharvard