Ssh Xauth Key Data Not Generated
Ssh Xauth Key Data Not Generated 4,6/5 2772 reviews
Hi Rod and all,
Thank you so much for your help. I tried what you've suggested. It works! I am so happy for that. But there is still some warnings.
What I've done as below:
My redhat is a new server running redhat enterprise server 6. There isn't ssh2_config file. So like what I did yesterday, I uncommented a line contains 'X11Forwarding yes' in sshd_conf.
Back to Mac, in terminal, type 'xterm&'. In a X terminal, using ssh login to redhad, as Rod suggested. I can login but got two warnings:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
Although I got those warnings, I still typed xterm& and opened a new xterm which comes from redhat. Then try 'xclock&'. It displayed!! So great!
Now, I have an other question. I opened 'firefox' from xterm. Firefox was also booted up, but the letters on menu and top bar were blurred. And the warnings I got were:
Xlib: extension 'RANDR' missing on display 'localhost:10.0'.
Xlib: extension 'RANDR' missing on display 'localhost:10.0'.
Xlib: extension 'RANDR' missing on display 'localhost:10.0'.
Have you ever met such problem?
This is a new problem. But I already feel so happy that you help me solved a problem which had bothered me for more than three days! Thanks all your help!
  1. Ssh Warning Untrusted X11 Forwarding Setup Failed Xauth Key Data Not Generated
  • Jul 29, 2016  Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. X11 forwarding request failed on channel 0 conq: repository access denied. Fatal: Could not read from remote repository. Running on OSX and using bash. Any ideas or help would be appreciated.
  • Jun 07, 2018  I believe the key line here is. Debug1: No xauth program. Since there is no xauth program in the Windows environment, SSH can't generate the auth info. The other thing that for working the SSH X11 forwarding isn't necessary, if an ssh server has a secure data connection to a client (for example, if Linux is local and running inside a virtual.
  • Nov 08, 2018  Back to Mac, in terminal, type 'xterm&'. In a X terminal, using ssh login to redhad, as Rod suggested. I can login but got two warnings: Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. Although I got those warnings.
Linux

Ssh Warning Untrusted X11 Forwarding Setup Failed Xauth Key Data Not Generated

Nov 11, 2008  Upon connecting to a RedHat Enterprise Linux server via ssh -X I get the following: Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding.

Crypto key generate rsa general-keys modulus 2048 not working. Next when I connect to the same router over SSH, I can validate the fingerprint my SSH client presents me. You store the public key in hex format in a file and use that with this new tool.To calculate the fingerprint, I extract the modulus and exponent from the public key, store them in another format (ssh-rsa) and calculate the MD5 hash.So now I can connect to a router via the serial console while there’s no “man in the middle”, obtain the public key and calculate the fingerprint. Turns out there is no CLI command to display the fingerprint (well, at least I didn’t find one). What you can do, is dump the public key with command “show crypto key mypubkey rsa”.So I developed a small Python program that calculates a SSH fingerprint from the public key.