Skip to content

Commit

Permalink
# NCP서버 SSH알고리즘 설정(서버재시작)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlawltjd8547 committed Jan 17, 2025
1 parent 28a64e4 commit c23b051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Deploy to NCP Server # 서버 알고리즘 변경 필요 # 서버에는 공개키 등록하기
run: |
# scp 명령어에서 알고리즘을 명시적으로 지정
# scp 명령어에서 알고리즘을 명시적으로 지정 ㅁㄴㅇ
scp -o StrictHostKeyChecking=no -o HostKeyAlgorithms=ssh-ed25519 -o PubkeyAcceptedAlgorithms=ssh-ed25519 board/build/libs/board-0.0.1-SNAPSHOT.jar [email protected]:/java
# 서버에서 .jar 파일 실행
ssh -o StrictHostKeyChecking=no -o HostKeyAlgorithms=ssh-ed25519 -o PubkeyAcceptedAlgorithms=ssh-ed25519 [email protected] 'java -jar /java/board-0.0.1-SNAPSHOT.jar'
Expand Down

0 comments on commit c23b051

Please sign in to comment.