Skip to content

Instantly share code, notes, and snippets.

View UkiDelly's full-sized avatar
🤩
Working

Delly UkiDelly

🤩
Working
View GitHub Profile
@UkiDelly
UkiDelly / Assignment.kt
Created January 8, 2024 13:04
강의 후 수정 저번
package backend_challenge.v1
fun main() {
val martOwner = MartOwner()
val customer = Customer(1)
customer.addToCart(Ramen(), Milk(), Water())
val payment = martOwner.createPayment(customer.cart)
val money = customer.pay(payment)
package backend_challenge
fun main() {
val martOwner = MartOwner()
val customer = Customer(1)
customer.addToCart(Ramen(), Milk(), Water())
val payment = martOwner.createPayment(customer.cart)
val money = customer.pay(payment)
1. Download Git Bash (only if on Windows)
2. Go to your users folder and open the .ssh folder. Then open Git Bash / Terminal there and generate a key pair:
ssh-keygen -m PEM -t rsa
3. Copy the key to your server:
ssh-copy-id -i <keyname> <user>@<host>
5. Login to your Ubuntu server via SSH:
ssh -i <keyname> <user>@<host>