LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 03-08-2018, 12:36 PM   #1
jettwa2001
Member
 
Registered: Dec 2007
Posts: 51

Rep: Reputation: 15
Unable to access CoreOS with ssh


Hi,

I'm trying to set up CorOS 1632.3.0 with no success and I'm just about to jump from the roof....

I can ping the server fine once is up however I can't ssh into it, I'm getting authentication failed.

I'm using a custom ssh key that I create, I paste the public key in the cloud-config.yaml file and when trying to connect I'm using the private key.

Also is the server and my laptop must be in the same subnet for this to work? orif I have ping it's enough?


Any help will be great

This is my cloud-config.yaml:

#!cloud-config
#
#Set hostname
hostname: sqa177

#Set User and ssh Key
#
#
passwd:
users:
- name: "core"
groups:
- "sudo"
ssh_authorized_keys:
-ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApzUU/9PO0yVDP7AhvhZsd294iK1If7okVPedzu2rJADBPNZgx8cmq+xZ2BkQ9LQdXroh1BKG283WBTt4B5v/olR9zZWe4RI/dYeFqntvvt/seDbzxzlRi18vecWRDxeRz0BmpSfdZJe8+R+SkT1sr96fATGxaihXCu0OODdA+7irp2FzRLV2lgYDMAwYEaZy9Zr1MsJQNCP8UJI 3QR2OnuALu7JWWoJ5XEGy44QuOAITirljhxdg5/8C5uJVJKnUWN9evcYU3f41gLDfAoRgMLSSBuavSMOd4TuCH4ZV7Oty0SNXncXqvXtaUts0VQQVh8Tb2D5t2kM2VVLczxhshQ== mannyi@vnc-lab-it.mtl.labs.mlnx


coreos:
etcd:
# Generate new token from https://discovery.etcd.io/new
discovery: "https://discovery.etcd.io/aad1485c47a3ebbaf216594af9235c96"
 
Old 03-09-2018, 05:02 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,719

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
Is the real problem that you cannot access the node using ssh, or that you cannot access the node using only ssh-keys without a password?

Have you verified that there is an SSH listener RUNNING on the CoreOS node?

Please provide a better description of the issue and situation to make things clear.

Last edited by wpeckham; 03-09-2018 at 05:03 AM.
 
Old 03-09-2018, 08:05 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170
And, is this the proper place to put the public-key in this environment?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to access Ubuntu guest from host using SSH sanjaykumar Linux - Server 1 03-26-2016 12:57 AM
[SOLVED] unable to access ssh anywhere on port 22 chipmunkxiz Linux - Newbie 13 05-14-2015 08:12 PM
Unable to access home directory of AD user after logging in via SSH with Samba transient Linux - Software 1 08-24-2011 12:01 PM
SSH unable to access rpm048 Red Hat 7 04-25-2011 03:14 AM
Unable to access SSH and DirectAdmin from 1 IP but all other OKAY. Randvegeta Linux - Server 12 10-10-2010 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration