Closed frankcollins3 closed 1 year ago
👍 [6:30pm]
Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-1025-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Sun Jul 2 22:27:38 UTC 2023
System load: 0.0 Processes: 95
Usage of /: 20.8% of 7.57GB Users logged in: 0
Memory usage: 24% IPv4 address for eth0: 172.31.4.247
Swap usage: 0%
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
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Last login: Sun Jul 2 22:10:26 2023 from 3.16.146.5
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ip-172-31-4-247:~$
attempting to do:
deployment on: AWS ubuntu server
error: 👎 chmod 400 ${key}.pem
^ command above does not work.
➜ desktop ssh -i chmod 400 {key}.pem Warning: Identity file chmod not accessible: No such file or directory. ssh: Could not resolve hostname 400: nodename nor servname provided, or not known
proposed approach: ask chatGPT. confirm that iterm2 can: 1) be used as a "terminal emulator" (already knew without knowing the exact name) 2) be used as an SSH client with its own SSH commands.
SSH commands to be distinguished by: $ ssh -i {...command}