[root@dev-ebs ~]# wget https://yum.oracle.com/repo/OracleLinux/OL7/openstack30/x86_64/getPackage/sshpass-1.05-5.el7.x86_64.rpm
--2021-10-11 16:36:05-- https://yum.oracle.com/repo/OracleLinux/OL7/openstack30/x86_64/getPackage/sshpass-1.05-5.el7.x86_64.rpmResolving yum.oracle.com (yum.oracle.com)... 23.192.201.52, 2600:1413:a000:1584::2a7d, 2600:1413:a000:15a3::2a7d
Connecting to yum.oracle.com (yum.oracle.com)|23.192.201.52|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20508 (20K) [application/x-rpm]
Saving to: ‘sshpass-1.05-5.el7.x86_64.rpm’
100%[==============================================================================================================================>] 20.508 --.-K/s in 0,001s
2021-10-11 16:36:05 (14,8 MB/s) - ‘sshpass-1.05-5.el7.x86_64.rpm’ saved [20508/20508]
[root@dev-ebs ~]# ls -l
total 32
-rw-------. 1 root root 2602 Agu 20 10:57 anaconda-ks.cfg
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Desktop
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Documents
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Downloads
-rw-r--r--. 1 root root 2650 Agu 20 10:59 initial-setup-ks.cfg
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Music
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Pictures
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Public
-rw-r--r--. 1 root root 20508 Mei 4 2016 sshpass-1.05-5.el7.x86_64.rpm
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Templates
drwxr-xr-x. 2 root root 6 Agu 20 11:00 Videos
[root@dev-ebs ~]# rpm -i sshpass-1.05-5.el7.x86_64.rpm
[root@dev-ebs ~]# su - tplinux
Last login: Sen Okt 11 16:33:39 WIB 2021 from 172.17.10.238 on pts/6
[tplinux@dev-ebs ~]$ sshpass -p 'tplinux' ssh tplinux@central.com
Welcome to Ubuntu 18.04 LTS (GNU/Linux 4.15.0-72-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Mon Oct 11 16:37:07 WIB 2021
System load: 0.03 Processes: 506
Usage of /: 31.1% of 1007.80GB Users logged in: 2
Memory usage: 5% IP address for ens160: 172.16.67.129
Swap usage: 7%
* Super-optimized for small spaces - read how we shrank the memory
footprint of MicroK8s to make it the smallest full K8s around.
https://ubuntu.com/blog/microk8s-memory-optimisation
##########>>> Welcome <<<##########
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
189 packages can be updated.
55 updates are security updates.
New release '20.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
You have new mail.
Last login: Mon Oct 11 15:48:11 2021 from 172.16.10.174
tplinux@ubuntu:~$
Tidak ada komentar:
Posting Komentar