gd繪圖之流程簡介 <<
Previous Next >> W11(使用瀏覽器開啟國旗檔)
W9(嘗試遠端連結S1511)
以下是使用遠端IPV6的連結練習
Microsoft Windows [版本 10.0.22621.2428]
(c) Microsoft Corporation. 著作權所有,並保留一切權利。
C:\Users\kim>ssh cp41223114@s1511.cycu.org
cp41223114@s1511.cycu.org's password:
Permission denied, please try again.
cp41223114@s1511.cycu.org's password:
Connection closed by 2001:288:6004:17:2023:cad:0:1 port 22
C:\Users\kim>ssh cp41223114@s1511.cycu.org
cp41223114@s1511.cycu.org's password:
Permission denied, please try again.
cp41223114@s1511.cycu.org's password:
Permission denied, please try again.
cp41223114@s1511.cycu.org's password:
cp41223114@s1511.cycu.org: Permission denied (publickey,password).
C:\Users\kim>
C:\Users\kim>ssh cp41223114@s1511.cycu.org
cp41223114@s1511.cycu.org's password:
Permission denied, please try again.
cp41223114@s1511.cycu.org's password:
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-86-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Oct 31 08:06:16 AM UTC 2023
System load: 0.02197265625
Usage of /: 13.1% of 97.87GB
Memory usage: 5%
Swap usage: 0%
Processes: 555
Users logged in: 49
IPv6 address for enp0s3: 2001:288:6004:17:a00:27ff:febe:b3b8
IPv6 address for enp0s3: 2001:288:6004:17:2023:cad:0:1
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
*** System restart required ***
Last login: Tue Oct 31 06:56:04 2023 from 2001:288:6004:17:7c8e:d0c6:372c:eca3
cp41223114@s1511:~$ ssh cp41223114@s1511.cycu.org
The authenticity of host 's1511.cycu.org (2001:288:6004:17:2023:cad:0:1)' can't be established.
ED25519 key fingerprint is SHA256:hP1e8xDIxGx7Empt60IyHtcxdC7Hi4aQPlJJGtb1ugs.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 's1511.cycu.org' (ED25519) to the list of known hosts.
cp41223114@s1511.cycu.org's password:
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-86-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Oct 31 08:09:08 AM UTC 2023
System load: 0.03759765625
Usage of /: 13.1% of 97.87GB
Memory usage: 5%
Swap usage: 0%
Processes: 556
Users logged in: 49
IPv6 address for enp0s3: 2001:288:6004:17:a00:27ff:febe:b3b8
IPv6 address for enp0s3: 2001:288:6004:17:2023:cad:0:1
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
*** System restart required ***
Last login: Tue Oct 31 08:06:22 2023 from 2001:288:6004:17:dc23:b200:834e:af34
cp41223114@s1511:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cp41223114/.ssh/id_rsa): id_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_rsa
Your public key has been saved in id_rsa.pub
The key fingerprint is:
SHA256:jSCgFoauz022wRZTM72syFTN3AUOtgG/bIvrF3LuRBM cp41223114@s1511
The key's randomart image is:
+---[RSA 3072]----+
|.o. .*+..o. |
|o... =o==. |
|o. .o.+E.. |
|.. +. oo= |
|. + + .S . |
|. O o+oo |
| o = o.+o. |
| o o oo |
| .oo. |
+----[SHA256]-----+
cp41223114@s1511:~$ >1s -1
-1: command not found
cp41223114@s1511:~$ -1s -1
-1s: command not found
cp41223114@s1511:~$ mkdir tmp
cp41223114@s1511:~$ client_loop: send disconnect: Connection reset
C:\Users\kim> cd .ssh
C:\Users\kim\.ssh>
C:\Users\kim\.ssh>~/ .ssh$
'~' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kim\.ssh>ssh cp41223114@s1511.cycu.org
cp41223114@s1511.cycu.org's password:
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-86-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Oct 31 09:20:25 AM UTC 2023
System load: 0.0
Usage of /: 13.2% of 97.87GB
Memory usage: 3%
Swap usage: 0%
Processes: 285
Users logged in: 11
IPv6 address for enp0s3: 2001:288:6004:17:a00:27ff:febe:b3b8
IPv6 address for enp0s3: 2001:288:6004:17:2023:cad:0:1
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
*** System restart required ***
Last login: Tue Oct 31 08:09:13 2023 from 2001:288:6004:17:2023:cad:0:1
cp41223114@s1511:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cp41223114/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/cp41223114/.ssh/id_rsa
Your public key has been saved in /home/cp41223114/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:aiF/FZzqNVDdkXwoWM6nmMrNsiU/VZMPwn3RMxX3JHI cp41223114@s1511
The key's randomart image is:
+---[RSA 3072]----+
| .+ooE=B|
| o.+oo=*=|
| . +.oo.o=|
| o +oo* .|
| . . S * .o = |
| o = * .. .|
| + B +. |
| . . *. |
| . .. |
+----[SHA256]-----+
cp41223114@s1511:~$ cd ssh
-bash: cd: ssh: No such file or directory
cp41223114@s1511:~$ cd .ssh
cp41223114@s1511:~/.ssh$ client_loop: send disconnect: Connection reset
C:\Users\kim\.ssh>
以下是tmp的連結練習(遠端)
C:\tmp>sftp 41223114@s1511.cycu.org
41223114@s1511.cycu.org's password:
Permission denied, please try again.
41223114@s1511.cycu.org's password:
Connection reset by 2001:288:6004:17:2023:cad:0:1 port 22
Connection closed
C:\tmp>sftp 41223114@s1511.cycu.org
ssh: connect to host s1511.cycu.org port 22: Connection timed out
Connection closed
C:\tmp>
C:\tmp>sftp 41223114@s1511.cycu.org
ssh: connect to host s1511.cycu.org port 22: Connection timed out
Connection closed
C:\tmp>sftp 41223114@s1511.cycu.org
ssh: connect to host s1511.cycu.org port 22: Connection timed out
Connection closed
目前未能完成連結
可能原因為以下幾點:
1.第一分頁之程式尚未完成(可能性很低)
2.因為需要IPV6才能完成 本人於112/11/1來到電腦教室聯結網線並開啟proxy以連結IPV6 但是打入密碼一樣未成功 有可能是老師不在所以沒有開啟資料庫來使用 因此連結未成功
3.使用遠端插網線進不去 可是我也試過近端 一樣沒用 所以這點可能性也很低(以上是這次失敗總結 等下次上課再嘗試)
更 我終於成功了 可是我最後是用putty的方法,但至少我這次對於這方面底層程式的理解有初步的認識。
gd繪圖之流程簡介 <<
Previous Next >> W11(使用瀏覽器開啟國旗檔)