Skip to content

Commit

Permalink
add ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Suk Ha committed Jan 31, 2024
1 parent 84355fa commit ca47259
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _posts/2024-01-30-learning.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ Sometimes aptitude helps a lot.

# SSH

[link](https://walkingplow.tistory.com/72)
I had an issue with sshing to hotcake / cake after regenerating ssh key pair.
`ssh-copy-id -i ~/.ssh/id_rsa.pub jun@hotcake` this helped.
This copy public ssh key to server's `authorized_keys` folder which is located under server's `~/.ssh`.
After that, I can ssh into server just by `ssh hotcake` or `ssh cake`. For this, I guess I need to edit
configure file `config` under Mac's `~/.ssh`.
For example,
```
Host cake
HostName cake
User junsukha
```


# MLops
Expand Down

0 comments on commit ca47259

Please sign in to comment.