User Tools

Site Tools


geri

This is an old revision of the document!


Enter the following code into a terminal (Ctrl+Alt+T to open up a terminal)

ssh-keygen -R "hiitravel.ca"

You should get the following result

USER
$ ssh-keygen -R “hiitravel.ca” # Host hiitravel.ca found: line 8 /home/brewer/.ssh/known_hosts updated. Original contents retained as /home/brewer/.ssh/known_hosts.old

ssh-keygen -R "74.208.130.23"

You should get the following result

USER
$ ssh-keygen -R “74.208.130.23” # Host hiitravel.ca found: line 8 /home/brewer/.ssh/known_hosts updated. Original contents retained as /home/brewer/.ssh/known_hosts.old
Or you may get,
USER
$ ssh-keygen -R “74.208.130.23” Host 74.208.130.23 not found in /home/brewer/.ssh/known_hosts
This is OK!

Now enter the following,

ssh pub@hiitravel.ca -i schedule_task/id_rsak

USER
$ ssh pub@hiitravel.ca -i schedule_task/id_rsak The authenticity of host 'hiitravel.ca (74.208.130.23)' can't be established. ED25519 key fingerprint is SHA256:sG1RgSLq71ZMgP1DORNMU9Rz6Tb14YEtTIFsraHn7W4. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Type Yes + Enter You should now see something like this
USER
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'hiitravel.ca' (ED25519) to the list of known hosts. Linux localhost 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) 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: Mon Jan 9 13:36:35 2023 from 205.211.133.131 root@localhost:~#

Once you see that, you can close the terminal. If get prompt for a password, you can also close that from that point.

Attempt2

ssh arqxozone@exp-studies.tor.ec.gc.ca -i ~/schedule_task/id_rsak -R 7289:localhost:22
geri.1696436464.txt.gz · Last modified: 2023/10/04 16:21 by reno