# Ssh root@node01 not working in kub201v1, cant resolve hostname

**URL:** <https://forums.suse.com/t/ssh-root-node01-not-working-in-kub201v1-cant-resolve-hostname/45492>\
**Category:** General\
**Created:** [May 7, 2025, 7:06am UTC](https://forums.suse.com/t/ssh-root-node01-not-working-in-kub201v1-cant-resolve-hostname/45492 "2025-05-07T07:06:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oshratl](https://avatars.discourse-cdn.com/v4/letter/o/ce73a5/32.png) [@oshratl](https://forums.suse.com/u/oshratl)\
**Post date:** [May 7, 2025, 7:06am UTC](https://forums.suse.com/t/ssh-root-node01-not-working-in-kub201v1-cant-resolve-hostname/45492/1 "2025-05-07T07:06:10Z")

</div>

im trying to do the lab practice for course kube 201V1 lab and when i do this command ssh root@node01 it returns:  
ssh: Could not resolve hostname node01: Name or service not known

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 7, 2025, 3:58pm UTC](https://forums.suse.com/t/ssh-root-node01-not-working-in-kub201v1-cant-resolve-hostname/45492/2 "2025-05-07T15:58:20Z")

</div>

@oshratl Hi and welcome to the Forum 😄  
You need to add the ip address to your /etc/hosts file or just use the ip address going forward.

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [May 7, 2025, 5:36pm UTC](https://forums.suse.com/t/ssh-root-node01-not-working-in-kub201v1-cant-resolve-hostname/45492/3 "2025-05-07T17:36:48Z")

</div>

Is this Step 3 of Exercise 5 in Section 7? It’s the only reference I’ve found in my Workbook for KUB201v1 to `ssh root@node1`.

If so, it says to enter `ssh root@node1.example.com`. My guess is the `/etc/hosts` file doesn’t have an alias of just `node1`.
