Operating System Programming 4DISS

(REV358--31-Jan-2024)
Welcome to the Operating System Programming for DISS site. The following is a step-by-step guide to set up a Virtual Debian Guest on VirtualBox. This site has been managed by VauLSMorg since 2020.
This is the WAY!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT

ℼ

Table of Contents

ℼ

ssh from a Windows Host to a Debian Guest (port 6022)


cmd /r dir /w

scp -P 6022 .\demo.txt cbkadal@localhost:~/

ℼ

ssh from host to guest (port 6022)

$ ssh -p 6022 cbkadal@localhost
cbkadal@localhost's password: 
Linux osp 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul  8 15:53:56 2021 from 10.0.2.2

cbkadal@osp:~$ ls -al ~/guest/
total 8
drwxr-xr-x 2 cbkadal cbkadal 4096 Jul  8 15:54 .
drwxr-xr-x 3 cbkadal cbkadal 4096 Jul  8 15:54 ..
cbkadal@osp:~$ exit
logout
Connection to localhost closed.

$

ℼ

scp from a Linux Host to a Linux Guest (port 6022)

$ ls -F
file1.txt  file2.txt  file3.txt  file4.txt  file5.txt

$ scp -P 6022 file?.txt cbkadal@localhost:~/guest/
cbkadal@localhost's password: 
file1.txt                100%   10     4.4KB/s   00:00    
file2.txt                100%   10     8.3KB/s   00:00    
file3.txt                100%   10    10.5KB/s   00:00    
file4.txt                100%   10     9.7KB/s   00:00    
file5.txt                100%   10    16.6KB/s   00:00    

$

ℼ

check ~/guest/ at guest

$ ssh -p 6022 cbkadal@localhost
cbkadal@localhost's password: 
Linux osp 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul  8 15:54:33 2021 from 10.0.2.2

cbkadal@osp:~$ ls -al ~/guest/
total 28
drwxr-xr-x 2 cbkadal cbkadal 4096 Jul  8 15:55 .
drwxr-xr-x 3 cbkadal cbkadal 4096 Jul  8 15:54 ..
-rw-r--r-- 1 cbkadal cbkadal   10 Jul  8 15:55 file1.txt
-rw-r--r-- 1 cbkadal cbkadal   10 Jul  8 15:55 file2.txt
-rw-r--r-- 1 cbkadal cbkadal   10 Jul  8 15:55 file3.txt
-rw-r--r-- 1 cbkadal cbkadal   10 Jul  8 15:55 file4.txt
-rw-r--r-- 1 cbkadal cbkadal   10 Jul  8 15:55 file5.txt

cbkadal@osp:~$ 

ℼ

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT