Indra Wahyu Posted on May 21, 2023 • Edited on Sep 17, 2023 Save ssh login info to make easy remote ssh #linux #ssh Define ~/.ssh/config file with the following contents Host meh HostName meh.example.com User admin Port 1234 IdentityFile ~/.ssh/id_rsa Enter fullscreen mode Exit fullscreen mode Use ssh [host] to connect to the host using the config file. ssh meh Enter fullscreen mode Exit fullscreen mode reference askubuntu.com Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)