NotArb - Solana Arbitrage Bot
  • Getting Started
    • Welcome
    • Changelog
    • The Basics
  • Setup
    • Start Here!
    • Prerequisites
      • Recommended Apps
      • RPC Providers
      • Linux Machines
    • Logging in Using SSH
    • Securing Your Machine
      • User Management
      • SSH Key-Based Authentication
      • Setting up UFW
      • Setting up fail2ban
      • Securing Wallet Private Key
    • Setting up for FTP
    • Initial Setup of NotArb
    • Using Screens
    • Making a Solana Wallet
  • Configurations
    • Using Nano
    • Config Basics
    • bot-config.toml
      • General Bot Settings
      • WSOL Unwrapper
      • JITO Strategy Settings
      • Spam Strategy Settings
      • Token Lists Settings
      • Swap Settings
    • jupiter-config.toml
      • Manager Settings
      • Env Settings
      • Mint Filters
    • Shell Scripts
      • run-bot.sh
      • run-jupiter.sh
      • run-screens.sh
  • Usage
    • Strategies
      • Jito Strategy
      • Spam Strategy
    • Updating
  • EXPERIMENTAL FEATURES
    • Overview & Caution
    • New Setup Configurations
  • New Mint Configurations
  • Default Strategy Fields
  • Jito Example
  • Spam Example
  • Extra Features
  • Support
    • FAQ
    • Common Issues
    • Troubleshooting
    • NotArb Docs Tracker
    • Contact
Powered by GitBook
On this page
  • Required Applications
  • Prerequisites
  • Step-by-Step Guide to Connect via SSH
  • Install and Open Your SSH Client
  • Get Your Server Details Ready
  • Connect Using SSH
  • Troubleshooting Tips
  1. Setup

Logging in Using SSH

PreviousLinux MachinesNextSecuring Your Machine

Last updated 7 months ago

This section will show you how to connect to a Linux Server using Secure Shell (SSH)

Required Applications

To connect via SSH, you’ll need an SSH client. Here are some recommended options:

  1. For Windows:

    • : A widely-used SSH client with a graphical interface.

    • Windows Command Prompt/PowerShell: Windows 10 and above include OpenSSH, so you can use cmd or PowerShell directly.

    • Windows Terminal: An enhanced terminal with support for multiple profiles and SSH.

  2. For macOS and Linux:

    • Terminal (Built-in): Both macOS and Linux have a built-in terminal with SSH capabilities.

  3. For Cross-Platform (Windows, macOS, Linux):

    • : Provides a robust environment with direct SSH support.

    • MobaXterm (Windows only): A multipurpose tool with built-in SSH, SFTP, and more.

Prerequisites

Before starting, ensure you have:

  • The IP address or domain name of the server.

  • The username you’ll use to log in.

  • The password or SSH key for authentication.

1

Install and Open Your SSH Client

  • Windows: If you’re using PuTTY, download and install it. If you prefer the command line, you can use Command Prompt or PowerShell without additional installations.

  • macOS/Linux: Open Terminal (it’s pre-installed).

  • Visual Studio Code Users: Install the Remote - SSH extension from the Extensions Marketplace.

2

Get Your Server Details Ready

  • Server IP Address: Something like 192.168.1.10 or a domain name (e.g., example.com).

  • Username: Usually root or a specific user account on the server.

  • Password or SSH Key: For secure access.

3

Connect Using SSH

Option A: Using Terminal/Command Line

  1. Open the terminal on your device.

  2. Enter the following command, replacing [username] and [server_ip]:

    ssh [username]@[server_ip]

    Example:

    ssh [email protected]
  3. Enter the Password (if prompted):

    • If you’re using password-based authentication, you’ll be prompted to enter your password.

  4. Using SSH Keys (Optional):

    • If you’ve set up SSH keys, ensure your public key (~/.ssh/id_rsa.pub) is added to the server’s ~/.ssh/authorized_keys file.

    • The terminal will automatically use your SSH key if configured.

Option B: Using PuTTY (Windows Only)

  1. Open PuTTY.

  2. In the Host Name (or IP address) field, enter the server’s IP or domain.

  3. Set the Port to 22 (the default SSH port).

  4. Click Open.

  5. Login Prompt: When the terminal opens, enter your username, press Enter, then enter your password or use SSH keys as configured.

Option C: Using Visual Studio Code

  1. Open Visual Studio Code.

  2. Go to the Remote Explorer side panel, then click Connect to Host.

  3. Enter your SSH command (e.g., ssh [username]@[server_ip]).

  4. Enter your password or allow the SSH key if configured.

  5. You’ll now have remote access directly from VS Code.

4

Verify Connection

You should now be logged into the server. You’ll see a command prompt indicating your connection, usually with the server’s hostname and the username you’re logged in as.


  • Permission Denied: Ensure you have the correct username, IP, and password. Check that your SSH key is correctly added if using key authentication.

  • Connection Timeout: Verify the server is online, and the firewall isn’t blocking port 22.

  • Add to Known Hosts: On first connection, you may be prompted to accept the server’s fingerprint. Type yes to continue.

With these steps, you’ll be connected to your server using SSH!

Step-by-Step Guide to Connect via SSH

Troubleshooting Tips

📘
🔧
ℹ️
ℹ️
PuTTY
Visual Studio Code (with Remote SSH extension)