SSH가 작동하는데도 SCP를 작동시킬 수 없습니다

SSH가 작동하는데도 SCP를 작동시킬 수 없습니다

SSH 키를 사용하여 SSH를 통해 성공적으로 연결할 수 있는 원격 VPS가 있습니다. /etc/ssh/sshd_config에서 비밀번호 인증을 비활성화했습니다.

유사한 주제에 대한 여러 다른 스레드를 검토했음에도 불구하고 scp가 작동하도록 할 수 없었습니다. 내가 하고 있는 일과 그 결과는 다음과 같습니다(공교롭게도 로컬과 원격 모두에서 동일한 사용자 이름).

scp -vvv -i /home/xixor/.ssh/id_rsa /home/xixor/testfile1 [email protected]:/home/xixor/temp

결과:

Executing: program /usr/bin/ssh host xxx.xxx.xx.xxx, user xixor, command scp -v -t /home/xixor/temp
OpenSSH_8.4p1, OpenSSL 1.1.1i  8 Dec 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname xxx.xxx.xx.xxx is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/xixor/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/xixor/.ssh/known_hosts2'
debug2: ssh_connect_direct
debug1: Connecting to xxx.xxx.xx.xxx [xxx.xxx.xx.xxx] port 22.
debug1: connect to address xxx.xxx.xx.xxx port 22: Connection timed out
ssh: connect to host xxx.xxx.xx.xxx port 22: Connection timed out
lost connection

scp는 원격 서버에 설치되며 해당 서버의 위치 간에 항목을 복사하는 작업만 수행합니다. 무슨 일이 일어나고 있는지에 대한 추가 정보를 제공하는 디버그 로그가 서버 어딘가에 있습니까? (즉, -vvv 플래그를 사용하여 명령을 실행할 때 내 로컬 컴퓨터에서 위의 출력 이상의 정보가 표시됩니다.)

관련 정보