View Single Post
Staro 15.01.2022., 20:40   #1581
tomek@vz
Premium
Moj komp
 
tomek@vz's Avatar
 
Datum registracije: May 2006
Lokacija: München/Varaždin
Postovi: 4,795
Citiraj:
Autor sYsT3m Pregled postova
poz

imam vps server koji je konfiguriran tako da se na njega spajam s naredbom (ubuntu 20.04)

Code:
ssh -i ~/.ssh/id_rsa useronevps@52.487.54.59 -p 69
i to funkcionira

e sad da ne upisujem cijelu tu kobasicu svaki puta, u ".ssh" folderu sam napravio "config" file

Code:
Host myvps   
    User useronevps
    Port 69
    IdentityFile ~/.ssh/id_rsa
    HostName 52.487.54.59
i kad se hocu logirati s

Code:
ssh myvps
ne ide, javlja



gdje bi mogao biti tipfeler

Host definiraj u /etc/hosts.
__________________
Lenovo LOQ 15AHP9 83DX || AMD Ryzen 5 8645HS / 16GB DDR5 / Micron M.2 2242 1TB / nVidia Geforce RTX 4050 / Windows 11 Pro
Lenovo Thinkpad L15 Gen 1 || Intel Core i5 10210U / 16GB DDR4 / WD SN730 256GB / Intel UHD / Fedora Workstation 42
tomek@vz je offline   Reply With Quote