커뮤니티
포인트
로딩중
쿠폰
내 강의실
국비 신청 내역
수강권
증명서
숙제 피드백
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
5-9 파일질라 서버에 연결오류
[왕초보] 비개발자를 위한, 웹개발 종합반 (프로그래밍 실무, 풀스택)
5주차
북마크
류*주
댓글
6
추천
0
조회수
55
조회수
55
답변 완료
  1. 파일질러 서버에 연결시 오류가 납니다. 해결방법 알려주세요.
스파르타 즉문즉답
  • 연결오류 메세지

상태: 43.201.63.159에 연결...

응답: fzSftp started, protocol_version=10

명령: keyfile "C:\Users\류민주\Desktop\b_newkey.pem"

명령: open "ubuntu@43.201.63.159" 22

명령: 새 호스트 키 신뢰: 한번만

상태: Using username "ubuntu". 

상태: Server refused our key 

오류: FATAL ERROR: No supported authentication methods available (server sent: publickey)

오류: 서버에 연결하지 못함


2.bit 정상등록됨

$ ssh -i /c/Users/류민주/Desktop/b_newkey.pem ubuntu@43.201.63.159

Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1019-aws x86_64)


 * Documentation: https://help.ubuntu.com

 * Management:   https://landscape.canonical.com

 * Support:    https://ubuntu.com/advantage


 System information as of Sat Oct 1 02:57:27 UTC 2022


 System load: 0.0        Processes:       100

 Usage of /:  26.0% of 7.57GB  Users logged in:    0

 Memory usage: 25%        IPv4 address for eth0: 172.31.4.142

 Swap usage:  0%



44 updates can be applied immediately.

21 of these updates are standard security updates.

To see these additional updates run: apt list --upgradable



Last login: Sat Oct 1 02:41:53 2022 from 106.250.206.79

ubuntu@ip-172-31-4-142:~$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

ubuntu@ip-172-31-4-142:~$ sudo apt-get update

Hit:1 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease

Hit:2 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease

Hit:3 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease

Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease

Reading package lists... Done

ubuntu@ip-172-31-4-142:~$ sudo apt-get install -y python3-pip

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

python3-pip is already the newest version (22.0.2+dfsg-1).

0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.

ubuntu@ip-172-31-4-142:~$ sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1

update-alternatives: using /usr/bin/pip3 to provide /usr/bin/pip (pip) in auto mode

update-alternatives: warning: not replacing /usr/bin/pip with a link

ubuntu@ip-172-31-4-142:~$ sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 5000

ubuntu@ip-172-31-4-142:~$




취소
 공유
취소
댓글 0
댓글 알림
나의얼굴