Skip to content
June 28, 2025

Pupli

  • .NET
    • .NET Core
    • ASP.NET
    • ASP.NET Blazor
    • ASP.NET MVC
    • ASP.NET Web APIs
    • ASP.NET Worker Services
    • async/await
    • AutoMapper
    • BenchmarkDotNet
    • C#
    • Dapper
    • DateTime
    • Dependency Injection
    • Entity Framework
    • EPPlus
    • FluentEmail
    • gRPC
    • Hangfire
    • HttpClient
    • Identity
    • Image Processing
    • MailKit
    • MassTransit
    • MediatR
    • MessagePipe
    • ML.NET
    • MongoDB
    • NuGet
    • Polly
    • PostgreSQL
    • Protobuf
    • Quartz.NET
    • Resources
    • RestSharp
    • Security
    • Selenium
    • Seq
    • Serilog
    • Sharp7
    • SharpVectors
    • SharpZipLib
    • SignalR
    • SOAP
    • StackExchange.Redis
    • String
    • Syncfusion
    • Windows
    • WPF
    • XML
  • C/C++
    • Qt
  • Database
    • Hibernate
    • MongoDB
    • MySQL
    • PostgreSQL
    • Redis
  • Electrical
    • PLC
  • Go
  • Java
    • Apache POI
    • Gradle
    • Groovy
    • Gson
    • Java
    • Joda
    • Kotlin
    • OkHttp
    • Quartz
    • RxJava
    • Spring
  • JavaScript
    • Express
    • JavaScript
    • Moment.js
    • Mongoose
    • Node.js
    • PM2
    • RxJS
    • Socket.IO
    • TypeScript
    • Yarn
  • Linux
    • Apache
    • Bash
    • Fedora
    • Git
    • Kali
    • Linux
    • Manjaro
    • Mint
    • Nginx
    • PDF
    • SSH
    • Tools
      • Certbot
      • cron
      • cURL
      • DNS
      • FFmpeg
      • GPG
      • grep
      • HAProxy
      • ip
      • iptables
      • Nmap
      • ProxyChains
      • rsync
      • sch
      • Superset
      • systemd
      • ufw
    • Ubuntu
    • VPN
  • Math
    • Formula
  • Microsoft
    • BAT
    • BI
    • Excel
    • PowerShell
    • Windows
      • DNS
    • Windows Server
    • WSL
  • Mobile
    • Android
    • Ionic
  • MQ
    • MQTT
    • RabbitMQ
  • Network
    • Cisco
    • Network+
  • Programming
    • Architectural Patterns
  • Python
    • Bokeh
    • Celery
    • Django
    • dnspython
    • Flask
    • Gunicorn
    • Network
    • NumPy
    • OpenCV
    • openpyxl
    • Pandas
    • PIL
    • psutil
    • PyInstaller
    • PyScreeze
    • PySide
    • pytesseract
    • Python
    • requests
    • Selenium
    • SQLAlchemy
    • SQLite
    • Telegram Bot
    • Virtualenv
    • Windows
  • Tools
    • GitHub Copilot
  • Web
    • Angular
    • Bootstrap
    • HTML
    • Next.js
    • PWA
    • React
    • Tailwind CSS
    • Vite
    • WordPress
    • XPath
    • CSS
Main Menu

Add SSH keys to an Ubuntu Server

December 27, 2023

Add your public key to the authorized keys file on remote server. To add you keys to the file, you can use the following command:

cat ~/id_rsa.pub >> ~/.ssh/authorized_keys

If you do not have the folder ~/.ssh/authorized_keys , you can create this with the following commands:

mkdir -p ~/.ssh
touch ~/.ssh/authorized_keys

References
https://medium.com/@williamkwao/how-to-add-ssh-keys-to-an-ubuntu-server-6a3a5b1bee26

Taggedlinuxsshubuntu
Copyright © 2025 Pupli.
Powered by WordPress and HitMag.