---
title: "Comment by Salman on \"How to Auto Deploy a Next.js App on Ubuntu from GitHub\" | Hashnode"
description: "Why just not use a personal-access-token instead of using an ssh key, it is much more secure and can be revoked from github. docs.github.com/en/authentication/k"
url: "https://hashnode.com/posts/how-to-auto-deploy-a-nextjs-app-on-ubuntu-from-github/65ce037fa5e6a44b44e1e5bc/comment/65d0540d8b3419ac493e7c36"
---

[Discussion](https://hashnode.com/posts/how-to-auto-deploy-a-nextjs-app-on-ubuntu-from-github/65ce037fa5e6a44b44e1e5bc)

Comment [How to Auto Deploy a Next.js App on Ubuntu from GitHub](https://hashnode.com/posts/how-to-auto-deploy-a-nextjs-app-on-ubuntu-from-github/65ce037fa5e6a44b44e1e5bc)

[Salman](https://hashnode.com/@syydsalman)

[Feb 17, 2024](https://hashnode.com/posts/how-to-auto-deploy-a-nextjs-app-on-ubuntu-from-github/65ce037fa5e6a44b44e1e5bc/comment/65d0540d8b3419ac493e7c36)

Why just not use a personal-access-token instead of using an ssh key, it is much more secure and can be revoked from github.

docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

Read more there.
