[Fiware-lab-help] Can not access my VM using ssh , correct key and username. it results to a Fiware banner

Dimitris Kalogeras D.Kalogeras at noc.ntua.gr
Tue Sep 21 19:53:33 CEST 2021


Hi all,

I am trying to access my VM and no matter what I receive  a banner

dkalo at ajax:/home/dkalo/.ssh % ssh -vvv -i dkalo-pub-key2.pem 
ubuntu at 150.254.155.40
OpenSSH_7.8p1, OpenSSL 1.1.1d-freebsd  10 Sep 2019
debug1: Reading configuration data /home/dkalo/.ssh/config
debug1: /home/dkalo/.ssh/config line 7: Applying options for 
150.254.155.40
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 150.254.155.40 is address
debug2: ssh_connect_direct
debug1: Connecting to 150.254.155.40 [150.254.155.40] port 22.
debug1: Connection established.
debug1: identity file dkalo-pub-key2.pem type -1
debug1: identity file dkalo-pub-key2.pem-cert type -1
debug1: identity file ./dkalo-pub-key2.pem type -1
debug1: identity file ./dkalo-pub-key2.pem-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.8 FreeBSD-20180909
debug1: Remote protocol version 2.0, remote software version 
OpenSSH_7.6p1 Ubuntu-4
debug1: match: OpenSSH_7.6p1 Ubuntu-4 pat 
OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* 
compat 0x04000002
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 150.254.155.40:22 as 'ubuntu'
debug3: Fssh_hostkeys_foreach: reading file 
"/home/dkalo/.ssh/known_hosts"
debug3: Fssh_record_hostkey: found key type ECDSA in file 
/home/dkalo/.ssh/known_hosts:71
debug3: Fssh_load_hostkeys: loaded 1 keys from 150.254.155.40
debug3: order_hostkeyalgs: prefer hostkeyalgs: 
ecdsa-sha2-nistp256-cert-v01 at openssh.com,ecdsa-sha2-nistp384-cert-v01 at openssh.com,ecdsa-sha2-nistp521-cert-v01 at openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: 
curve25519-sha256,curve25519-sha256 at libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c
debug2: host key algorithms: 
ecdsa-sha2-nistp256-cert-v01 at openssh.com,ecdsa-sha2-nistp384-cert-v01 at openssh.com,ecdsa-sha2-nistp521-cert-v01 at openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01 at openssh.com,rsa-sha2-512-cert-v01 at openssh.com,rsa-sha2-256-cert-v01 at openssh.com,ssh-rsa-cert-v01 at openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: 
chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com,aes128-cbc,aes192-cbc,aes256-cbc
debug2: ciphers stoc: 
chacha20-poly1305 at openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm at openssh.com,aes256-gcm at openssh.com,aes128-cbc,aes192-cbc,aes256-cbc
debug2: MACs ctos: 
umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: 
umac-64-etm at openssh.com,umac-128-etm at openssh.com,hmac-sha2-256-etm at openssh.com,hmac-sha2-512-etm at openssh.com,hmac-sha1-etm at openssh.com,umac-64 at openssh.com,umac-128 at openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib at openssh.com,zlib
debug2: compression stoc: none,zlib at openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: diffie-hellman-group-exchange-sha256
debug2: host key algorithms: 
ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: aes256-ctr,aes192-ctr,aes128-ctr
debug2: ciphers stoc: aes256-ctr,aes192-ctr,aes128-ctr
debug2: MACs ctos: hmac-sha2-512,hmac-sha2-256
debug2: MACs stoc: hmac-sha2-512,hmac-sha2-256
debug2: compression ctos: none,zlib at openssh.com
debug2: compression stoc: none,zlib at openssh.com
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 
compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 
compression: none
debug3: send packet: type 34
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug3: receive packet: type 31
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug2: bits set: 4159/8192
debug3: send packet: type 32
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug3: receive packet: type 33
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 
SHA256:5AFtjBBCF5lAgpyMaX/jPHfik6nDYk4FkjJNaoh+d1s
debug3: verify_host_key_dns
debug1: skipped DNS lookup for numerical hostname
debug3: Fssh_hostkeys_foreach: reading file 
"/home/dkalo/.ssh/known_hosts"
debug3: Fssh_record_hostkey: found key type ECDSA in file 
/home/dkalo/.ssh/known_hosts:71
debug3: Fssh_load_hostkeys: loaded 1 keys from 150.254.155.40
debug1: Host '150.254.155.40' is known and matches the ECDSA host key.
debug1: Found key in /home/dkalo/.ssh/known_hosts:71
debug2: bits set: 4023/8192
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey after 4294967296 blocks
debug2: key: dell-dkalo-key (0x80124d380), agent
debug2: key: dkalo-pub-key2.pem (0x0), explicit
debug2: key: ./dkalo-pub-key2.pem (0x0), explicit
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: Fssh_kex_input_ext_info: 
server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 53
debug3: input_userauth_banner
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have 
authorisation
before using it, and your use will be strictly limited to that indicated 
in the
authorisation.
Unauthorised access to this system or improper use of the same is 
prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in 
force. The
use of this system may be monitored.
#################################################################################


I am NOT using the root account. I am using the default ubuntu for the 
following  VM.



Name:ssh-jump-host
ID:  4d224e60-1e15-4d6e-9cca-0996081e7628
Status: Active
Availability Zone:  nova
Created:  Sept. 21, 2021, 4:56 p.m.
Time Since Created:  46 minutes

Specs:
Flavor:  m1.tiny
Flavor ID:  1
RAM:  512MB
VCPUs:  1 VCPU
Disk:  0GB
Ephemeral Disk :  20GB

IP Addresses

Node-Int-Net-01
     192.168.111.108,  150.254.155.40

Security Groups

ssh-icmp-all

         ALLOW IPv6 to ::/0
         ALLOW IPv4 icmp from 0.0.0.0/0
         ALLOW IPv4 22/tcp from ssh-icmp-all
         ALLOW IPv4 icmp to 0.0.0.0/0
         ALLOW IPv4 to 0.0.0.0/0
         ALLOW IPv4 1024-65000/tcp to 0.0.0.0/0
         ALLOW IPv4 22/tcp from 0.0.0.0/0

Metadata

Key Name
     dkalo-Pub-key2
Image Name
     base_ubuntu_18.04



I have tried to follow the guidelines from fiware-lab and cloud init but 
to no help

Kind regards
Dimitris

-- 
Χαιρετισμούς,

Δημήτρης Καλογεράς
Ερευνητής ΕΠΙΣΕΥ

--
Dimitrios K. Kalogeras

Electrical Engineer Ph.D.
Network Engineer
NTUA/ICCS
  _____________________________________
  skype: aweboy
  voice: +30-210-772 1863
  fax: +30-210-772 1866


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy