We are excited to launch a space dedicated to the Red Hat Training course Red Hat Satellite 6 Administration!
To gain the most value from this group - click the "Join Group" button in the upper right hand corner of the group home page.
We encourage group members to collaborate in this group to discuss topics, ask questions, share best practices and tips, provide course feedback, and share their accomplishments as it relates to RH403.
Read more about Red Hat Satellite 6 Administration here.
@Grshkmr -
You might want to put a little more context here and possibly start a topic for your question. You mention a tutorial and credentials, but there is no point of reference.
If it is for the course there should be a guided exercise and name and section and possibly a step number. If it is for something else, then specify where it came from so you can get an answer.
subscription-manager is used to register systems either to Red Hat or a Red Hat Satellite. In the course, we are doing some installations and configurations to make systems register to a local satellite. If you are using subscription-manager outside of the course or without the configurations for a satellite, it is attempting to register directly to Red Hat, then definitely the credentials wouldn't work and you would need to use your own Red Hat account to register those systems.
Hello people
After a week trying to connect logged into to this lab using SSH private key , as i was being using for other labs with success, this does not work for me.
$ ssh -F ~/.ssh/roleRH403.conf workstation
The authenticity of host '[159.135.175.140]:22022 ([159.135.175.140]:22022)' can't be established.
ED25519 key fingerprint is SHA256:Q/Ge8090Tgt2OXBZeeVYibUd8l1spKvLEr2G1bJC8/Y.
This host key is known by the following other names/addresses:
~/.ssh/known_hosts:4: [159.135.163.182]:22022
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[159.135.175.140]:22022' (ED25519) to the list of known hosts.
cloud-user@159.135.175.140: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
kex_exchange_identification: Connection closed by remote host
$ ssh -F ~/.ssh/roleRH403.conf workstation
cloud-user@159.135.175.140: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
kex_exchange_identification: Connection closed by remote host
any help will be appreciated. TIA
more info.
After deleting and recreating the lab (with different external public IP given to me),
no luck either, not possible to connect to workstation
mylaptop$ ssh -i ~/.ssh/rht_classroom2.rsa -J cloud-user@159.135.175.140:22022 student@172.25.252.1 -p 53009
Received disconnect from 159.135.175.140 port 22022:2: Too many authentication failures
Disconnected from 159.135.175.140 port 22022
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
I pulled down the key from training GUI. Set perm to 0600.
jwesterd@jwesterd-thinkpadp1gen4i.rmtusnj.csb $ ls -l ~/.ssh/rht_classroom.rsa
-rw-------. 1 jwesterd jwesterd 2488 Sep 24 09:58 /home/jwesterd/.ssh/rht_classroom.rsa
Copied the string to the CLI (fedora 40), and ran it. Connection timed out.
jwesterd@jwesterd-thinkpadp1gen4i.rmtusnj.csb $ ssh -i ~/.ssh/rht_classroom.rsa -J cloud-user@a.b.c.d:22022 student@172.25.252.1 -p 53009
ssh: connect to host 148.62.92.63 port 22022: Connection timed out
Connection closed by UNKNOWN port 65535
Compared IP address to the referenced one in the lab: "Public Ip: a.b.c.d". Yup. good.
Thanks @westerj firstly.
On my Fedora38, that same process amde in many other several trainings that worked for me, in this case it is not.
javierb:.ssh$ ssh -v -i ~/.ssh/rht_classroom.rsa -J cloud-user@159.135.175.140:22022 student@172.25.252.1 -p 53009
OpenSSH_9.0p1, OpenSSL 3.0.9 30 May 2023
debug1: Reading configuration data /home/javierb/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /home/javierb/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Setting implicit ProxyCommand from ProxyJump: ssh -l cloud-user -p 22022 -v -W '[%h]:%p' 159.135.175.140
debug1: Executing proxy command: exec ssh -l cloud-user -p 22022 -v -W '[172.25.252.1]:53009' 159.135.175.140
debug1: identity file /home/javierb/.ssh/rht_classroom.rsa type -1
debug1: identity file /home/javierb/.ssh/rht_classroom.rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
OpenSSH_9.0p1, OpenSSL 3.0.9 30 May 2023
debug1: Reading configuration data /home/javierb/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /home/javierb/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Connecting to 159.135.175.140 [159.135.175.140] port 22022.
debug1: connect to address 159.135.175.140 port 22022: Connection timed out
ssh: connect to host 159.135.175.140 port 22022: Connection timed out
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
Point i have made/tried it with 3different external IPs (after deleting and recreating the lab). So my guessing is , i dont know what is happening
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.