connection - Cannot connect ssh and sFtp to instance from terminal and FileZilla -
my client ubuntu linux. have set ssh connecting , tried connect instance failed. here phenomenons:
- i can use google sdk browser window connect instance means sshd on server side working.
- i can run "gcloud compute ssh instance" google browser window , succeeded.
- when open terminal on client linux , issue "gcloud compute ssh instance --zone zone" first time, see public key copied server instance under ~/.ssh , same public key under client ~/.ssh. connection failed returning timeout message.
- i checked server side firewall , rule of allow ssh set, @ port 22.
- when close terminal on client side , reopen terminal. issue "gcloud compute ssh instance --zone" command returns same timeout message.
- i opened filezilla on client side , add private key using add key file command , tried open "sftp:user@server-external-ip:22" connection, returns timeout message. of cause believe because ssh connection time out.
- i used succeed connect server through terminal ssh before 1 months, , after got 1 morning, started fail. noticed there instance maintenance happened during night.
- i still succeeded connect server through sftp once, once after morning. on next day, fails again , never succeeded since then.
can tell me reason? doubt client ip address may banned sshd? how can check it?
Comments
Post a Comment