Похожие чаты

Hi! is it possible to map a dhcp ip to

my localhost /etc/hosts file? i keep on ssh'ing like user@192.168.1.xx -vvv where numbers are changing everyday

14 ответов

8 просмотров

Have you... Considered making the IP static?

Hmm this will not answer your question, which to my little knowledge is an "unsolvable issue" without making the IP static or creating an in-between host to which the desktop comunicates his local IP address(...a big workaround). nmap -sP 192.168.1.1/24 assuming your router IP is 192.168.1.1(not a standard), this command will allow you to check all the hosts live from your linux terminal. It takes 12 seconds on my machine. You can get it faster by changing the 24 number. Ask me if you want to know how and if it is viable in your case

just... use the router dns??

Kiyo 💜
just... use the router dns??

His router's dhcp does not keep always the same IPs, and he cannot set the "DHCP reservation" since he isn't allowed to

Kiyo 💜
nmap -sP 192.168.1.255/24*

also if you're doing this, just use the hostname

Kiyo 💜
nmap -sP 192.168.1.255/24*

same output on my machine

I give you a long winded solution. On your server, that you want to SSH into, run an hourly script to write its IP address to AWS DynamoDB or Google Sheet, etc. in your machine that you use to SSH, run an hourly script to read the info from AWS DynamoDB or Google Sheet, and update your /etc/hosts

nHz34J6A%@MFd&-Y. Автор вопроса
Sharuzzaman Ahmat Raslan
I give you a long winded solution. On your server,...

Oh i missed that part. Let me backread it. Thanks alot

nHz34J6A%@MFd& Y.
Oh i missed that part. Let me backread it. Thanks ...

https://developers.google.com/sheets/api/guides/values#python

swodig
couldn't he use ddns?

it will use public IP, not private IP

nHz34J6A%@MFd& Y.
Oh i missed that part. Let me backread it. Thanks ...

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.Python.03.html

Похожие вопросы

Обсуждают сегодня

как правильно удалить сддм? прописал в etc/portage.use/plasma-meta -sddm , но при обновлении юзов мне предлагает поставить lightdm (ещё лучше 😡), добавил туда - display-manage...
REDis
25
#include <stdio.h> #include <stdlib.h> #include <time.h> void mass_first_generate(int mass[5][7]) {     for (int N = 0; N < 5; N++) {         for (int A = 0; A < 7; A++) {   ...
Чувак
6
Except the wealthiest, people that buy crypto want to "cash out" at the end of the day, one way or another. Converting to fiat is craziness, converting to BTC is unwise. Hold ...
Erdelanax
2
Всем привет! Решаю 99 OCaml Problems и столкнулся со следующей проблемой (прошу палками не забивать, я OCaml практически не трогал до этого момента): open OUnit2 let create_...
К|/|pи/\/\ 6е3yглbIи
2
Всем привет! Имеется функция: function IsValidChar(ch: UTF8Char): Boolean; var i: Integer; ValidChars: AnsiString; begin ValidChars := 'abcdefghijklmnopqrstuvwxyzABCDE...
Евгений
44
возможно ли как-то передать в электрон или таури медиа поток с рендера 2д движка? двиг запускается как dll, а дальше надо как-то отправлять рендер кодировать не подходит, зр...
Kyle Nekto
7
https://www.linkedin.com/posts/ugama-benedicta-kelechi-codergirl-103041300_mobiledevelopment-fluttertraining-handsonlearning-activity-7263445699227254784-IdHB?utm_source=share...
CoderGirl
16
Hello!!! Moved nodes to another server, but uptime is not transferred. now both servers are working, last time I did the same, only 2 nodes transferred uptime, can you plea...
Kamil
12
VIP-397 BNBx Oracle implementation upgrade Summary This proposal, if approved, will upgrade the implementation of the BNBx Oracle contract on Venus from version 1 (V1) to v...
Venus Announcements
2
like, question: int b = 99999; is this valid and predictable C?
Ludovic 'Archivist' Lagouardette
15
Карта сайта