---
title: "Discussion on \"SSH keys, SSH tunnels and SFTP: the three SSH skills you use on every VPS\" | Hashnode"
description: "Discussion on \"SSH keys, SSH tunnels and SFTP: the three SSH skills you use on every VPS\". Generate an SSH key, harden sshd, tunnel to a private database and move files with SFTP: one practical workflow for any Linux VPS."
url: "https://hashnode.com/posts/ssh-keys-ssh-tunnels-and-sftp-the-three-ssh-skills-you-use-on-every-vps/6b014ba6e8f5d1b7a5de851f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SSH keys, SSH tunnels and SFTP: the three SSH skills you use on every VPS](https://bigdomainhost.hashnode.dev/ssh-keys-ssh-tunnels-and-sftp-the-three-ssh-skills-you-use-on-every-vps?utm_source=hashnode&utm_medium=feed)

Generate an SSH key, harden sshd, tunnel to a private database and move files with SFTP: one practical workflow for any Linux VPS.

5d ago · 13 min read · bigdomainhost.hashnode.dev  
Updated 8m ago  
Read the article

-   [#ssh](https://hashnode.com/tag/ssh)
-   [#linux](https://hashnode.com/tag/linux)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Bigdomainhost](https://hashnode.com/@bigdomainhost)

@bigdomainhost · India

  
[View profile](https://hashnode.com/@bigdomainhost)

Indian hosting company. Notes on VPS, cPanel, DNS and migrations.

Bigdomainhost is an Indian hosting company with KVM VPS, VDS and dedicated servers in Mumbai and Delhi NCR. We write about VPS sizing, cPanel, DNS, email deliverability and moving sites without downtime. More at https://bigdomainhost.com/

## Responses 1

Markdown supported · ⌘↵ to post

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[5d ago](https://hashnode.com/posts/ssh-keys-ssh-tunnels-and-sftp-the-three-ssh-skills-you-use-on-every-vps/6b014ba6e8f5d1b7a5de851f/comment/6b01613845bbf7ac4192485b)

The host key check at first login is the detail most guides skip, and the reminder to compare the fingerprint from the console before typing yes is spot on. The tunnel-only key example stood out too, since restrict with permitopen to one destination is a clean way to give a key forwarding without a shell. The note about the 00 prefix in sshd\_config.d also explains a lot of confusing lockouts. Thanks for walking through keys, tunnels, and file transfer as one workflow instead of three separate topics.
