Do not work domains with ssh.


vas199228@...
 

Hello. Why does not it work?

                        ssh pi@...

VNC connects correctly.


vas199228@...
 

Sorry, here is the correct command:

The forum removes web addresses.


Radim Stano
 

Hello there,

what is the error message?

Best regards,

Radim
 
 

 

 


Mark McIntyre
 

I assume you've named your Pi "ru0001" and have a local domain gmnnet?

What error do you get? Have you enabled the sshd server on the Pi?
VNC connects over port 5900 using a different protocol.

On 13/03/2023 09:16, vas199228@... wrote:

Sorry, here is the correct command:

The forum removes web addresses.


vas199228@...
 

ssh with ip address works fine.  With a domain - no.


Mark McIntyre
 

it is not clear where you're trying to connect from. Why are you expecting the gmnnet domain to exisst?

If you are trying to connect from your desktop to a Pi on your network then you don't need any domain, but your router must provide DNS resolution. Not all routers provide this.   My old BT router did, my new TPLink router doesn't, and so i can only connect with IP addresses.

If you're trying to connect from outside your network, then you will need to configure a VPN or NAT on your router. Thats not really a GMN question though, and there are other groups that could advise you better.



On 13/03/2023 17:08, vas199228@... wrote:

ssh with ip address works fine.  With a domain - no.


peschman2001
 

Mark,

The gmnnet domain is provided by the OpenVPN managed by GMN.

Peter E.


From: main@globalmeteornetwork.groups.io <main@globalmeteornetwork.groups.io> on behalf of Mark McIntyre via groups.io <mark.jm.mcintyre@...>
Sent: Monday, March 13, 2023 11:24 AM
To: main@globalmeteornetwork.groups.io <main@globalmeteornetwork.groups.io>
Subject: Re: [GlobalMeteorNetwork] Do not work domains with ssh.
 

  [EXTERNAL]

it is not clear where you're trying to connect from. Why are you expecting the gmnnet domain to exisst?

If you are trying to connect from your desktop to a Pi on your network then you don't need any domain, but your router must provide DNS resolution. Not all routers provide this.   My old BT router did, my new TPLink router doesn't, and so i can only connect with IP addresses.

If you're trying to connect from outside your network, then you will need to configure a VPN or NAT on your router. Thats not really a GMN question though, and there are other groups that could advise you better.



On 13/03/2023 17:08, vas199228@... wrote:
ssh with ip address works fine.  With a domain - no.


Mark McIntyre
 

ah, right i did wonder if thats where it was coming from, but vas199228 was not very clear.


I don't think that provides SSH tunnelling though does it ? Only tunnels RTSP and VNC.

On 13/03/2023 18:40, peschman2001 wrote:

Mark,

The gmnnet domain is provided by the OpenVPN managed by GMN.

Peter E.

From: main@globalmeteornetwork.groups.io <main@globalmeteornetwork.groups.io> on behalf of Mark McIntyre via groups.io <mark.jm.mcintyre@...>
Sent: Monday, March 13, 2023 11:24 AM
To: main@globalmeteornetwork.groups.io <main@globalmeteornetwork.groups.io>
Subject: Re: [GlobalMeteorNetwork] Do not work domains with ssh.
 

  [EXTERNAL]

it is not clear where you're trying to connect from. Why are you expecting the gmnnet domain to exisst?

If you are trying to connect from your desktop to a Pi on your network then you don't need any domain, but your router must provide DNS resolution. Not all routers provide this.   My old BT router did, my new TPLink router doesn't, and so i can only connect with IP addresses.

If you're trying to connect from outside your network, then you will need to configure a VPN or NAT on your router. Thats not really a GMN question though, and there are other groups that could advise you better.



On 13/03/2023 17:08, vas199228@... wrote:
ssh with ip address works fine.  With a domain - no.


Mark McIntyre
 

i appreciate english isn't your first language, but it would really help if you would provide more information about your problem. Error messages you get, what IP address you're using that works, why you are trying to use the VPN, that sort of thing.

On 13/03/2023 17:08, vas199228@... wrote:

ssh with ip address works fine.  With a domain - no.


vas199228@...
 

I turned to Denis Vida for help.  It was not possible to identify the cause.  Maybe something here can suggest?


Mark McIntyre
 

As i mentioned earlier,  you need to describe the problem more clearly.

what are you trying to do, and what problems do you have?

On 21/03/2023 16:20, vas199228@... wrote:

I turned to Denis Vida for help.  It was not possible to identify the cause.  Maybe something here can suggest?


vas199228@...
 

I explain in detail.
 
I'm connecting to a GMN VPN server. Denis Vida sent me the config. According to the instructions, you can connect to the station using the following entry: ru0001.gmnnet. VNC does the job, but SSH connection doesn't work. If you enter the IP address of the station ru0001 - the connection is established.
I am attaching screenshots.


Mark McIntyre
 

Thanks for the additional information. 

Firstly, if it works with the ip address, whats the problem? Just use that :)

Secondly I assume you're trying to connect from an Ubuntu desktop to a remote pi, using the GMN VPN.  And the problem you have is that the hostname isn't resolved

You will probably find this google search useful. It was the first hit when i searched for "vpn ubuntu hostname not resolved"

https://askubuntu.com/questions/1417070/ubuntu-22-04-vpns-dns-server-not-used-for-resolving-addresses

As for why VNC works, its probably using netbios name resolution as a fallback. Netbios is a broadcast protocol from the windows world. Some routers broadcast netbios names for any DHCP allocations they've made and so if you were on Windows, the name resoultion would probably have worked. 

By the way i can strongly recommend google search as a quicker way to resolve problems with Linux, networking and the internet. While there are smart people in this group, its really not the best place to ask.


On 22/03/2023 16:29, vas199228@... wrote:

I explain in detail.
 
I'm connecting to a GMN VPN server. Denis Vida sent me the config. According to the instructions, you can connect to the station using the following entry: ru0001.gmnnet. VNC does the job, but SSH connection doesn't work. If you enter the IP address of the station ru0001 - the connection is established.
I am attaching screenshots.


vas199228@...
 

Thanks, I got it. The problem was in ssh aliases.