SSH session

General support for the Pi-Star System
Post Reply
GW6RTV
Posts: 4
Joined: Sat Mar 18, 2023 11:15 am

SSH session

Post by GW6RTV »

How do I go about setting up a SSH session
KN2TOD
Posts: 335
Joined: Sun Nov 11, 2018 6:36 pm

Re: SSH session

Post by KN2TOD »

Dashboard --> Configuration --> Expert --> SSH Access; key in your user id and password; starts a "Shell-in-a-Box" session.

Alternatively, you can use programs like Termius or Tabby to connect to Pi-Star directly; out of the box, Pi-Star is set to accept such SSH connections.

For file transfers and the like, try WinSCP or other FTP-type programs rather than trying to initiate system-to-system transfers via the command line.
GW6RTV
Posts: 4
Joined: Sat Mar 18, 2023 11:15 am

Re: SSH session

Post by GW6RTV »

Many thanks for the info.
GW6RTV
Posts: 4
Joined: Sat Mar 18, 2023 11:15 am

Re: SSH session

Post by GW6RTV »

Sadly I am still unable to a SSH session, can anyone give me a step by step procedure of how to connect, in case I am missing some thing.
TIA
John
KN2TOD
Posts: 335
Joined: Sun Nov 11, 2018 6:36 pm

Re: SSH session

Post by KN2TOD »

ASSUMING you have access to the Pi-Star Dashboard in a browser:

1) click on the ADMIN selection in the header
2) enter user name (pi-star) and password (raspberry) and hit enter
3) click on CONFIGURATION selection in the header
4) click on EXPERT selection in the header
5) click on the SSH ACCESS in the header
6) enter user name (pi-star) and then password (raspberry)

If you're getting tripped up somewhere in these steps, you'll have to provide more details about your initial setup: what kind of system(s) are you using here and what error messages are appearing, etc.
GW6RTV
Posts: 4
Joined: Sat Mar 18, 2023 11:15 am

Re: SSH session

Post by GW6RTV »

I get as far as item 6, it allows me to enter username (pi-star} I hit enter so as to enter password (all good so far), I type in the password (raspberry) nothing shows on the screen to confirm I have entered any thing, I hit enter, and nothing happens.!!
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: SSH session

Post by AF6VN »

My recommendation would be to use something like PuTTY to go direct SSH rather than through some web browser overhead.

PuTTY may show an error message indicating some reason for not authenticating.

--
AF6VN
Dennis L Bieber
KO3F
Posts: 13
Joined: Wed Apr 11, 2018 12:12 pm

Re: SSH session

Post by KO3F »

On my MacBook, the SSH function does not work unless I go to the bottom of the SSH page and click on "Click here for full screen SSH client". Then I can enter login and password and get to the terminal prompt.
ae5tc
Posts: 1
Joined: Tue Nov 08, 2022 4:55 pm

Re: SSH session

Post by ae5tc »

Seems the new image really doesn't want remote ssh access to work.. Notes for my self mostly. After clicking SSH Access, if you want to access the pi-star remotely using ssh:

Code: Select all

echo Create host keys, this takes a minute.
ssh-keygen -A
echo Use the config which isn't broken and using deprecated options:
cp sshd_config.ucf-dist sshd_config
service ssh restart
I add my own scripts via ansible, like:
  • reboot notification to slack
  • backups over CIFS/Samba - w/Slack message
  • VPN client (call home so I have access even if pi-star is at the coffee shop)
  • install BPQ as a APRS iGate
KN2TOD
Posts: 335
Joined: Sun Nov 11, 2018 6:36 pm

Re: SSH session

Post by KN2TOD »

KN2TOD wrote: Mon Mar 27, 2023 1:13 pm ASSUMING you have access to the Pi-Star Dashboard in a browser:

1) click on the ADMIN selection in the header
2) enter user name (pi-star) and password (raspberry) and hit enter
3) click on CONFIGURATION selection in the header
4) click on EXPERT selection in the header
5) click on the SSH ACCESS in the header
6) enter user name (pi-star) and then password (raspberry)

If you're getting tripped up somewhere in these steps, you'll have to provide more details about your initial setup: what kind of system(s) are you using here and what error messages are appearing, etc.
FWIW: the above steps can be reduced to:

1) open up new browser tab and enter the HS's ip addr postfixed with ":2222" (for example: 192.168.1.70:2222)
2) enter user name (pi-star) and then password (raspberry)

Don't forget that you have to have enabled SSH access (default) in the original configuration of your Pi-Star, and use the appropriate user name and password if you have perchance changed them during that configuration.
Post Reply