How do I connect via SSH using 2FA?

Hostkicker LLC

Last Update 9 maanden geleden

How to connect SSH

It's only recommended that you connect to your package via SSH if you're familiar with the command-line interface. Here is how to connect using two-factor authentication (2FA).

Windows

1. Download and Install PuTTY
  • Go to PuTTY's website and download the PuTTY installer.
  • Install PuTTY on your computer.
2. Set Up Google Authenticator
  • Download the Google Authenticator app on your phone (available for iOS and Android).
  • Log in to your hosting account at cp.serverbyt.in.
  • Go to Manage Hosting and select the package you need SSH access for.
  • Click on SSH Access under the Security section.
  • Set an SSH password and note it down.
  • Click Set up Authenticator and scan the QR code with the Google Authenticator app on your phone.
  • Wait 30 minutes before connecting.
3. Connect Using PuTTY
  • Open PuTTY.
  • In the Host Name field, enter ssh.stackcp.com.
  • Click Open to start the connection.
4. Log In
  • When prompted for a login, enter your domain (e.g., example.co.uk).
5. Enter the Verification Code
  • The system will ask for a verification code. Open the Google Authenticator app on your phone and enter the code it shows.
6. Enter Your SSH Password
  • Enter the SSH password you set earlier.

You should now be connected to your SSH server with two-factor authentication enabled!

Was this article helpful?

1 out of 5 liked this article

Still need help? Message Us