Son of a Tech
Science & Tech • Investing & Finance
Linux Workshop Part 2
Accessing Your Ubuntu Server
January 21, 2023
post photo preview

Access Ubuntu Server

  1. Connect Through Hyper-V - Allows init level access for troubleshooting and root pw reset

 

  1. Open Hyper-V Manager

uTkADRv-kApupPa4URPjykULgorZH_Z2MnzmuiPaPS82bihSX9TFlWVdl4-zxMYYjTZudKPBdQM2e9azZcZMaw2r4NfGPTSVg_23Xgvrg9Z8eo-Qnt5BoEXIwYSJ9LZEYchIb2kTw3fQD1SLPcFWNXPJALI1oHWHQu6XwRtwISp-H3YEvW7wa3WzE3F1Kg

  1. Right Click Virtual Machine

G7a3W-eACuv1dCvkqWiH_tk-Kzk0wk804YlkYT_2_kGS8ZynRI29q2BC0l_AaBoN9Azgc9jdbdjA1ogRBnMBbKJRlrPilD_lzCM0_nqUS705oQP3Mm82ni2qIYiRq8VLf1qQxhbDecVvkCf1r3t59gTAuXobm-fp0gNfNrdVHvlkbng8R-TSzK-plxe2mg

  1. Login with username and password

A5lOXxyEoAAuG3zcCe9Tg6ZsmfGEgtCT1xviV_e38UXJeXIOADfB1CnW7CMpFBmfTNeW4md9ulRxQUpVfv4zW3kxG2-IaLnDmHXN_mddet7oJb1ymMubm7F-nZlI5AgAf9Ard3OHRFbEExY_5kcb44ZEnY6MmQqFk1PEH78OYUWPESmfL9Iu2gk-1E5VEw

  1. Confirm Successful Login

MNOTWuI1FgH-lHp74ZOHAzJO0uegZ9LD0P2QSH9vCPvzvNaZ4l5S00Ju355vTjSzNZXCAr7nXlMsw0Id2T4hFptAHS19gYGkzHzfuDzTdk5Ik2-r9c376ukcKSkSjIgECZmdvl5f_hPWce78gBN5Z3shDp7dqlE2RJI7HViKXQSFcqPBeHO2rYG2ftHo0w

  1. SSH Terminal Access - Remote Run Level Access

    1. Windows Powershell SSH Access

      1. Obtain IP from hyper-v console with command ip a

FjMSu-2Hvn-j5gq2XNvpwf9GnvxMTk5OZ2d8rg1izjSCzGz9DN_ZcfSvf8VuSXWlV-v81Oq5K812rmPQvJn5K5IHHcG7oNwXSKGDl2W2SdVgcRUOMGQy2J_6sY243poY9B2ltx7WGmZ0lRTqtm_VKibq9Ht8HROs7ndZ80zNZeRuyfk9yMoYA1ipd1RjZQ

  1. Confirm SSH service is running with command systemctl status sshd

adtiW9xGlqgSV0sWIoAV1lj8cCZMnXcreIdiOwxZrH4m7YJCR8NaCE5aG8PegxgsEfE2wlgxgFR21X5HfnCO4kEbdH_xmoCLXqCAWk0onu6q4RA6E85FDWgM_y_UQOFTlK7sJIWv1AdfDRiZpqlrvA66X-qo30F1srsoJCRC3izpCQQcTTfl58GZxpP0LA

  1. Confirm port 22 is listening with command sudo lsof -i -P -n | grep sshd

YnkQf6affC_9FzWEVXuGYQu2zw56FhuqkijDkDRo9bfQFlJcahHYLr3Mh2764ZvCmXYA28ZkAt_33cM02siDXs8-F3CbjEkfrMBzFbbuH-oO7F6Ew4bPqqv6JVQWRTCsHRL8lJXV23VJ9jujALP8M8-UyGNHFprdY1IWBmKVIk0dz3FVWYNR1drpvhQdYQ

  1. Check if firewall is enabled with command sudo ufw status

klLy6X9Zm_LzxnkforVMGT0au9-8VdyjWoWti6qARXYqc1owiuz_78lIDtt6DicZjz3M9yUzp6iE79cPMELezVguAc60aXFbxqudOzEC8WGvzz0fosWAslhuFF_9dq9WGE9CJYUjyEmFKPOhSu6nhJ1sd_t7axic4Qn0mq8WFmbXQBFtdsOxIYi6dROqXw

  1. Open Manage Optional Features

JwdfQW2YIS4xBEB4MDuBCrBJB2YVbf3GUF4p7Vh6tzO8x34rdaRHiV46iiC6NCvWliiOWXuOaHmAP7XLzt7_-NaNFTOIckLenMbM10iSX6RWTN5Q1tDLkh3lXHWRj0SOuH7tLKOCCdWW6kGH9rFkh4DCMI2v3t9SI3XfYGRb9hh-aqefHpiZ95hzy59dMg

  1. Search for OpenSSH and install

4lWYDQ5LuPZ71yziWjrThBgl8pNrWUoKHUHUk2NA0I5swVpsO6CMh4mQR-ldUIZMbR1TZ_M1vLHNi1RMNEcJBfDS7-9Y123KjdNCG-6Yhvr-cKNicuwQlfvSJSDg1J3wt9s5Bc7ARrVHBhNKau4waNhLXO75NE-qxWyakx9IhoFXv_8w3oqSDeC0UO_pLw

  1. Search and Open Powershell

0bl-IhrYb8f7lpLHZ_TY8nJqCZ28DcmZ_DU19AnkUTrFz9JNjV20xoHU5VHGmeZGgGAjBcYePYGBP8batENMw3GmFSY8jBXvvXGSYNdxfilx1dDZvzrB37GeGi1YuvfkmR_TggIVxLAyeEs6K3mPUJRaPbv9DFpCy_oU3VPpEZcmTryS7eLwSS7x0vRrrQ

  1. Connect To Your Ubuntu Server By Using The Command ssh [username]@[ip address]

 3fq89m7E0ZNLsxkcKwaFqj5fT3878Waf0Xcehum3-gCAIFXUDVTzwH00ELHkADst58LfKq24j7Lyj5C0s3Dupoubu7kqSTnBN-BOr9e_anEDg8sHwVFwy1o8pXxKejLobae1Z7k7Notr221iGmO4FeveLWM_nUAejxZZDt8WDQ80GSLuxKuKI4MYg-GpNg

  1. Type yes then press enter and enter your password and press enter

z_XDS786AG-GkNuEwx0izuwp6f2aL6uU62k7X7xexmAikfQ25E4is2TkAxwUAoMEFEgab7uXpmPvwYE9Z8zqLmo3XjGBzKrSUGA9K5enm8j0050kQIzEZZecYFQMSYfnB7MmJBsOxgDxc03W5v9wZQZOj0kcT7YnZpq9f4j6NSwmZx3VYNmZpnBIcTp5GQ

  1. Confirm you are connected to the correct machine with command hostname

56eLfOhL6cWorqMDDmwcQjMtWUOZz54RlMaFqX6z7sPyePq6EZpy8Btb-2w4F9fLEcrl6Ae8uIKAsAVF6hbCdOCrhk87iP9spg2cePg0ZWvUZ0zPn_NWwoBbSMz8dBCh9gOD5cA2DQcS5yZ2T0_m5wR75XjeJCUBW1yEY6UZO8KytRSbTMY1Msil1RJFJg

  1. Confirm which user you are connected with command whoami

e4Iqx9_pVxaVt0ykZ40NHgmkYTmWsHLgVG2zDtZOgqGUHMsniXvyMKxxm1m684MLbOd2XS3kPkmkqVgcbaQxLxvD-0jMxE5vuFnpdE48GZMoD2xKkG2cqOG0rfVLFWV-D-1x0Y3RGCp6Y7m5KlkrbYnlDmr92szO-2wMgqMYMAgJzdH4TUmloY5bsETwhQ

  1. Find the current directory you are working in with command pwd

Wi4AtjSWZdFdaSok7OWuR8reSVBhBxpmkolSwBuBWNZH8KygyHWbC1zhnR1JN739ApJ6uIij5Sp0BJ9sRZh1Do0uvRKiJsLX1VuSUTz5YN1hFruRzuhc3BBh6GjmFb-rfmj2ZD4mFUlg9dZ-7g2sbRupJ_mjhuat077bv5b8drsEzeTiVG_U4aVXUzMaZA

  1. Use Up and Down Arrow Keys to cycle through previous commands

  1. Putty SSH Access - Most common tool for ssh access on windows

    1. Download and install putty from https://putty.org/

    2. Obtain IP from hyper-v console with command ip a

FjMSu-2Hvn-j5gq2XNvpwf9GnvxMTk5OZ2d8rg1izjSCzGz9DN_ZcfSvf8VuSXWlV-v81Oq5K812rmPQvJn5K5IHHcG7oNwXSKGDl2W2SdVgcRUOMGQy2J_6sY243poY9B2ltx7WGmZ0lRTqtm_VKibq9Ht8HROs7ndZ80zNZeRuyfk9yMoYA1ipd1RjZQ

  1. Confirm SSH service is running with command systemctl status sshd

adtiW9xGlqgSV0sWIoAV1lj8cCZMnXcreIdiOwxZrH4m7YJCR8NaCE5aG8PegxgsEfE2wlgxgFR21X5HfnCO4kEbdH_xmoCLXqCAWk0onu6q4RA6E85FDWgM_y_UQOFTlK7sJIWv1AdfDRiZpqlrvA66X-qo30F1srsoJCRC3izpCQQcTTfl58GZxpP0LA

  1. Confirm port 22 is listening with command sudo lsof -i -P -n | grep sshd

YnkQf6affC_9FzWEVXuGYQu2zw56FhuqkijDkDRo9bfQFlJcahHYLr3Mh2764ZvCmXYA28ZkAt_33cM02siDXs8-F3CbjEkfrMBzFbbuH-oO7F6Ew4bPqqv6JVQWRTCsHRL8lJXV23VJ9jujALP8M8-UyGNHFprdY1IWBmKVIk0dz3FVWYNR1drpvhQdYQ

  1. Check if firewall is enabled with command sudo ufw status

klLy6X9Zm_LzxnkforVMGT0au9-8VdyjWoWti6qARXYqc1owiuz_78lIDtt6DicZjz3M9yUzp6iE79cPMELezVguAc60aXFbxqudOzEC8WGvzz0fosWAslhuFF_9dq9WGE9CJYUjyEmFKPOhSu6nhJ1sd_t7axic4Qn0mq8WFmbXQBFtdsOxIYi6dROqXw

  1. Open Putty 

DPAtsrq6Xmpp_RxhZSw-qiKcpDnLX4dZ_H-NHyra_P2v3c0cc3ImnSH1h0GPgmAa7v4SrJIhYO0V7ovMnnEt50UKDSB90iRWSajaGTGpPPt1CWfTgZJ2lyyLYNuJl5gZ0Dryd0oi4ENX-VmH-NG-CaO-3LahqVYJSwhx1nIFm61X3Hy0nMJWYEdreRiG4Q

  1. Enter Server IP, Name Your Server and Click Save

oe508BEVLcy-cjU1tZZ5TnbXgAOGvreBhnsFHZEUVfB7cm6yl9coy-Ia7e6enN3W6VFYo5qA6URYv5mA6GEpwDUx2lOm007qKRmVgJk1k5rU9xUhRXtvoA9v3gsb_5-VP9ZuAOy2EY46jvBfsDbumQZPhI_MADXWyA98ouJH5ZWO6qyK_QmPuV6k0nTQ-w

  1. Click Open to Connect to Server

rjjuix0YOh-VI5NF1HgYgozyOcoqWISvaqxCljSEl4zQoMgamZQ2Wacc9CU0RTViP-zaLtVap4USmcYNeiDspIaIQPIsglzU5R26sK7_ilnURVha2GRnkvBNnY73ZkM0YYYXyqZ3PQ6VWbr8CvyqcZ-R6ofiC3GFHK49PFTpPDCHHf4ZtiwQOxB2ydCRwQ

  1. Login to Server

brPy56LkyUyZBMi0xkBnHs3UfTz7OV5L3AQfkKvEhXki3U2MziluOAa8DRcsD-k3IcZxTCARTabdtgYcw0jUHPyktFZ52Z1gPITECPJgIzbjKnlrEyGHTCp1FwJeS_oMNnFpw5Irqmz80QyMjolyeX4ov6VWGMRRc4Q3e11VIqmEC0R_xIArZelm2BsB4Q

  1. Confirm you are connect to the correct server with command hostname

GVOIZYN0-4NKQ_VNv-hDrmvrXyjKwROCCVcK17mE2ZyyNu1Eq1jXRxfeQ47QMHT0Wn9zqBftOsiw1toLPyk7fzy6cpdDB2CZ2fNzcJdtXkheFCkYkR60zr9P6--rihEL3dy3zmcw0Lg8oFAGWY8HCrhS-wZr13rjkpcaJNprnFtPpXqMrAorU-qFrfmQIw

  1. Confirm you are connected with the correct user with command whoami

EYLrfYeV9Luhgp_atkw_9h8rhm0GyoKGnBYsAcIhZssHq8pynAuF7lblwVAB2E5fISIe7M3MXlmWFltTQmbylb_Hesful0hHTkvB7M00I4nr470SI7GPw6-0vk8LzAI9IUKiBpcgC1YZwMfnYAqfwnP2zLdNwbl60wDHXCaaNxopS6B-IuqXHs2OSY_sJQ

  1. Check your starting directory before beginning work with command pwd

iD3YQrVc8aTpvku2aIXYuW0K00GtJuVecMZsYmFxdPTeGPq_fqJfGRaapn4l_jNIx9fWJEj1pMS7PnxJDMNaLmbH96Ag4tu_fUpKfhI8NApFGb2AKfkMZA0FakMuEsxnLsqZjgbPZzxpuHQWLgXFW0hm5Ugca9AhnF8AtSY5kFuUIyGwtTnVbupPWRioxA

 

Congratulations you have learned how to connect to your linux server and performed the login best practices. Remember to always confirm you are connected to the correct machine with the correct user and in the correct directory before beginning work. 

 

 

 

community logo
Join the Son of a Tech Community
To read more articles like this, sign up and join my community today
3
What else you may like…
Videos
Posts
Articles
September 10, 2024
post photo preview
Another Rusty Spec Mine

Thanks to @ScarTalon for finding this one. 

 


Resources

Node: https://github.com/astrix-network/astrix-node

Miner: https://github.com/paragone/astrix-miner

    -Website: https://astrix-network.com
    -Explorer: https://explorer.astrix-network.com
    -WebWallet: https://wallet.astrix-network.com
    -Discord: https://discord.com/invite/cwfDZJ9dHx
    -Telegram: https://t.me/astrix_network
    -X: https://x.com/astrix_network
    -Github: https://github.com/astrix-network

  • Get node software 

wget  https://github.com/astrix-network/astrix-node/releases/download/v0.14.1/astrix-node-v0.14.1-linux.zip

  • unzip 

unzip astrix-node-v0.14.1-linux.zip

  • start screen to test (can make service later)

screen -S astrixd

  • Enter Directory

cd astrix-node

  • Start node with mining settings

./astrixd --utxoindex --rpclisten-borsh=default --rpclisten=0.0.0.0:34150

  • ctrl+a+d to exit screen
  • Enter directory

cd astrix-node

  • Start Wallet

./astrix-wallet

  • Connect wallet to node

connect 127.0.0.1

  • Create Wallet

wallet create

  • Use hiveOS image in custom miner requires kernel 6.1 meaning latest beta and now they did update latest stable to 6.1 as long as you use replace option to upgrade to it or on first burn. GUI latest stable will not update the kernel. 

https://github.com/Dalkson/Wrapper-Builder/releases/download/astrix-miner/astrix-miner-v0.2.1.tar.gz

Read full Article
post photo preview
Skoof Wallet and Node Guide

This is a guide to build a wallet and node for the Xelis fork Skoof. The wallet guide is first and you can mine to the public node I have built with rigel miner now. Node Guide will be completed later.

 

 

Only for Supporters
To read the rest of this article and access other paid content, you must be a supporter
Read full Article
post photo preview
Yet Another Spec Mine Resources

The latest spec mine not available on miningpoolstats or exchanges. 

Check out the Video Here https://sonofatech.locals.com/post/5660644/yet-another-spec-mine

 


https://pugdag.com/

https://wallet.pugdag.com/

https://mining4people.com/

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals