Sziasztok!
ssh: Could not resolve hostname [hostname]: Temporary failure in name resolution
Segítséget szeretnék kérni a fenti probléma megoldásában. A host egy Kubuntu 18.04, a server egy Ubuntu 12.04, ami virtualbox-ban fut.
A servert pingelni tudom, böngészőből is elérem az apache-ot gépnév alapján, ssh mégis csak IP címet fogad el gépnévvel nem megy... Régen 16.04 Ubuntu alatt ment simán.
dniel@H81M-VG4:~/.ssh$ ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/home/dniel/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/dniel/.ssh/id_rsa.
Your public key has been saved in /home/dniel/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:FdaAz+ue/Ohh132h1uFRGCuFXBaIdKhff7MvxUAuLso dniel@H81M-VG4
The key's randomart image is:
+---[RSA 2048]----+
| o=*.+*. |
| ..oo=o.+ |
| +. .oo .|
| ..o o.o .|
| S. + o * |
| + ..=oB|
| . oo..o.==|
| Eo.=. ...|
| o*.. .o|
+----[SHA256]-----+
dniel@H81M-VG4:~/.ssh$ ssh-copy-id VBOX-LAMP
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/dniel/.ssh/id_rsa.pub"
The authenticity of host 'vbox-lamp (192.168.1.9)' can't be established.
ECDSA key fingerprint is SHA256:gr4DtSwqfimwplviCZ1SMw+lEm9vTHNk/XDagMFtqbs.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: ERROR: ssh: Could not resolve hostname vbox-lamp: Temporary failure in name resolution
dniel@H81M-VG4:~/.ssh$
Ebböl látszik minden.
Googlét használtam át néztem 30 találatot kb de mindenhol másfajta tákolgatást láttam. Nem igazán szeretném az asztali gépemet ez miatt szét gányolni, először szeretném meg tudni miért nem működik a név feloldás normálisan.
Előre is köszönöm aki segít.