[Support] Djoss - PuTTY


Recommended Posts

I've tried setting this like others have instructed and when I hit connect in putty its just a blank console with the blinking green cursor.  I'm on a Supermicro X9SRL-F based board.  I have (2) serial ports... I have tried connecting both.  I am trying to connect to an Arista managed switch.  I've connected to this switch through windows using a USB to Serial but I lost the USB to Serial cable so I am trying to connect to the switch with my server since it has a real serial port and I have tons of these serial management cables.

2021-09-16.jpg

Edited by givmedew
Link to comment
On 9/16/2021 at 6:01 PM, givmedew said:

I've tried setting this like others have instructed and when I hit connect in putty its just a blank console with the blinking green cursor.  I'm on a Supermicro X9SRL-F based board.  I have (2) serial ports... I have tried connecting both.  I am trying to connect to an Arista managed switch.  I've connected to this switch through windows using a USB to Serial but I lost the USB to Serial cable so I am trying to connect to the switch with my server since it has a real serial port and I have tons of these serial management cables.

2021-09-16.jpg

Which settings are you using in PuTTY to connect?

Link to comment
  • 4 months later...

i have this on screen (too many redirection)

 

 

image.png.75b8e521f081ac02314b7165653a8b2e.thumb.png.1487e32801740a6964a9ffd3244951ee.png

image.thumb.png.7b520b99d0d7d858e81e1da7a3921d3f.png

 

 

image.thumb.png.2190f681cfe94fff5d7c008580aff076.png

 

image.thumb.png.446bae7996f2f73a92c55ce7b1c3cd53.png

 

also having authelia setting in Advanced in Nginx Proxy Manager should i add somethink else ?

 

#NPM Proxy Logs to one file for goaccess monitoring
access_log /config/logs/proxy_logs.log proxy;
error_log /config/log/proxy_errors.log warn;

 

location /authelia {
internal;
set $upstream_authelia http://192.168.0.199:9091/api/verify;
proxy_pass_request_body off;
proxy_pass $upstream_authelia;    
proxy_set_header Content-Length "";

# Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
client_body_buffer_size 128k;
proxy_set_header Host $host;
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr; 
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 4 32k;

send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;
}

location / {
set $upstream_putty $forward_scheme://$server:$port;
proxy_pass $upstream_putty;

auth_request /authelia;
auth_request_set $target_url https://$http_host$request_uri;
auth_request_set $user $upstream_http_remote_user;
auth_request_set $email $upstream_http_remote_email;
auth_request_set $groups $upstream_http_remote_groups;
proxy_set_header Remote-User $user;
proxy_set_header Remote-Email $email;
proxy_set_header Remote-Groups $groups;

error_page 401 =302 https://auth.mysite.com/?rd=$target_url;

client_body_buffer_size 128k;

proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

send_timeout 5m;
proxy_read_timeout 360;
proxy_send_timeout 360;
proxy_connect_timeout 360;

proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 64 256k;

set_real_ip_from 172.18.0.0/16;
set_real_ip_from 172.19.0.0/16;
real_ip_header CF-Connecting-IP;
real_ip_recursive on;

}
 

also using cloudflare i copyied 2 files from NPM cert to putty (web-fullchain.pem,web-privkey.pem),

also have secure connection enabled ..

what should i do for make putty work behind reverse proxy ?

 

 

Edited by Masterwishx
Link to comment
33 minutes ago, Masterwishx said:

i have this on screen (too many redirection)

image.thumb.png.e91d2257ba279d12c195032f1f039b74.png

 

image.thumb.png.7b520b99d0d7d858e81e1da7a3921d3f.png

 

image.thumb.png.2190f681cfe94fff5d7c008580aff076.png

 

image.thumb.png.446bae7996f2f73a92c55ce7b1c3cd53.png

 

also having authelia setting in Advanced in Nginx Proxy Manager should i add somethink else ?

 

#NPM Proxy Logs to one file for goaccess monitoring
access_log /config/logs/proxy_logs.log proxy;
error_log /config/log/proxy_errors.log warn;

 

location /authelia {
internal;
set $upstream_authelia http://192.168.0.199:9091/api/verify;
proxy_pass_request_body off;
proxy_pass $upstream_authelia;    
proxy_set_header Content-Length "";

# Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
client_body_buffer_size 128k;
proxy_set_header Host $host;
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr; 
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 4 32k;

send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;
}

location / {
set $upstream_putty $forward_scheme://$server:$port;
proxy_pass $upstream_putty;

auth_request /authelia;
auth_request_set $target_url https://$http_host$request_uri;
auth_request_set $user $upstream_http_remote_user;
auth_request_set $email $upstream_http_remote_email;
auth_request_set $groups $upstream_http_remote_groups;
proxy_set_header Remote-User $user;
proxy_set_header Remote-Email $email;
proxy_set_header Remote-Groups $groups;

error_page 401 =302 https://auth.mysite.com/?rd=$target_url;

client_body_buffer_size 128k;

proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

send_timeout 5m;
proxy_read_timeout 360;
proxy_send_timeout 360;
proxy_connect_timeout 360;

proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 64 256k;

set_real_ip_from 172.18.0.0/16;
set_real_ip_from 172.19.0.0/16;
real_ip_header CF-Connecting-IP;
real_ip_recursive on;

}
 

also using cloudflare i copyied 2 files from NPM cert to putty (web-fullchain.pem,web-privkey.pem),

also have secure connection enabled ..

what should i do for make putty work behind reverse proxy ?

 

 

 

 

also added but still nothing...

 

location /websockify {
        proxy_pass  $upstream_putty;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection upgrade;
        proxy_read_timeout 86400;
    }

Link to comment

When behind NPM, putty container doesn't handle any certificate.  Certificates are handled by NPM.

 

So when using default settings for the putty container (no need to enable sure connection), your proxy host configuration should have Forward IP set to the unRAID IP and the Forward Port set to 7816.  You also need to enable "WebSockets Support".

 

  • Thanks 1
Link to comment
  • 10 months later...
6 minutes ago, Masterwishx said:

Do you mean ssh profile from version befor ? Yes

 

The problem seems to be related to the font used.  Did you change it the the profile ?  Can you try to edit the profile and see what is configured ?

 

Not sure why it gives an error now, since nothing related to that changed from the last version...

 

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.