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:

  1. i can use google sdk browser window connect instance means sshd on server side working.
  2. i can run "gcloud compute ssh instance" google browser window , succeeded.
  3. 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.
  4. i checked server side firewall , rule of allow ssh set, @ port 22.
  5. when close terminal on client side , reopen terminal. issue "gcloud compute ssh instance --zone" command returns same timeout message.
  6. 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.
  7. i used succeed connect server through terminal ssh before 1 months, , after got 1 morning, started fail. noticed there instance maintenance happened during night.
  8. 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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -