Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
SSH server setup on debian
IT techni
Follow
2 days ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
what's up there i wanted to set up an ssh server on on a debian machine that i have here
00:07
and i wanted to share that with you so the first command should be
00:14
apt update to update the repos indexes in the
00:21
system enter remember we are connecting through a vnc connection to this virtual machine
00:30
and then in case you have any packages that can be updated simply run apt upgrade
00:40
but i have none here so i can simply go to the next command which will install the package
00:47
that has the ssh server in it and the command should be apt install open ssh server
01:00
and then once the command is typed correctly we are ready to press enter and then here we press y
01:12
and enter you are you're able to add dash y to the command to skip the last confirmation
01:23
that remember to run these commands as root either by going to the root user
01:31
by running the command sudo su or su or by typing sudo in front of every every command
01:42
so the next command should be systemctl start ssh d
01:54
and then we are able to enable it at every startup simply by running
02:02
i believe that the service has been started and enabled
02:06
here in case it's not started you are able to run the command systemctl start ssh d to start it and to
02:16
enable it you run systemctl enable ssh d to check that all these con configurations are successful
02:26
you can run systemctl status ssh d that should tell us whether our service has been started and enabled
02:44
successfully or not and we can see here that it is active and loaded and everything and it's enabled as
02:53
well in case it's not you are able to enable and start it by running the two commands systemctl start
03:02
and systemctl enable ssh d the service and you can replace the two commands with one which should be
03:09
systemctl enable dash dash now like i'm gonna show you now
03:17
like this that should start and enable it at the same time for you you press enter and you are good to
03:29
go for me it's enabled and started automatically after the installation of ssd ssh is done
03:40
we clear out the screen and then we should check the ip address on the server by running the command ipa
03:56
i have only two interfaces one is the loopback and the other one is the interface that is connected to
04:02
the network and i have an ip address which i can use here to connect to my ssh server running debian or uh
04:13
to my debian which runs the ssh server i am connected through a client here so i'm able to connect through
04:23
ssh i can open the terminal you should know your username and its password ssh in my case the username
04:38
is user dot one zero dot seventeen
04:46
yes here you get we get this confirmation in the first
04:49
time of connecting to the server enter and the password and we are connected to our
04:59
ssh or to our debian machine through ssh we can check the system version os release and we can see
05:09
that it is running debian that was how you set up an ssh server on debian and probably the other
05:16
distributions based on it please don't forget to subscribe like share and comment and cheers
Be the first to comment
Add your comment
Recommended
11:36
|
Up next
SSH server setup on nixOS and connecting into it
IT techni
5 months ago
2:36
ssh server on arch linux
IT techni
5 months ago
5:13
Access/transfer files through ssh only through file explorer (sshfs/ftp server replacement)
IT techni
6 months ago
6:44
zram on debian, ubuntu and mint
IT techni
2 days ago
4:48
macos update (15.6.1 to 15.7.1)
IT techni
2 weeks ago
11:03
Skip packages update on arch linux (needed when downgrading)
IT techni
2 weeks ago
5:13
mpv setup on macos
IT techni
2 weeks ago
5:47
Minecraft setup on Arch Linux using legacy launcher + flatpak method (distro agnostic)
IT techni
2 weeks ago
6:57
Installing minecraft java on macOS using legacy launcher
IT techni
2 weeks ago
2:56
My first apple device (mac) ever
IT techni
3 weeks ago
6:44
Error symbol grub_is_using_legacy_shim_lock_protocol not found resolution
IT techni
5 weeks ago
6:31
Connecting to wifi on Alpine Linux using IWD
IT techni
5 weeks ago
8:15
chroot on alpine linux
IT techni
5 weeks ago
38:53
Ventoy's persistence plugin (live media with persistence)
IT techni
6 weeks ago
5:21
Commands to run whenever grub is updated on Arch Linux
IT techni
6 weeks ago
2:42
Error failed to commit transaction...exists in filesystem resolution Arch Linux
IT techni
6 weeks ago
7:48
Multilib setup on Slackware
IT techni
6 weeks ago
3:12
sshfs setup void linux
IT techni
2 months ago
1:12
Certificate verification failed error resolution for xbps
IT techni
2 months ago
5:59
firefox-esr setup on arch linux
IT techni
2 months ago
7:56
Configuring ASMI network for IBM power servers
IT techni
2 months ago
3:54
ufw firewall setup on arch linux
IT techni
2 months ago
5:39
Failed to compile dosbox-x from the AUR, installed it from the chaotic AUR
IT techni
4 months ago
7:00
Playonlinux setup on Arch Linux
IT techni
4 months ago
11:00
Maxx interactive desktop setup on ubuntu
IT techni
4 months ago
Be the first to comment