Djoss Posted August 16, 2018 Share Posted August 16, 2018 Support for PuTTY docker container Application Name: PuTTYApplication Site: https://www.putty.org Docker Hub: https://hub.docker.com/r/jlesage/putty/Github: https://github.com/jlesage/docker-putty This container is based on Alpine Linux, meaning that its size is very small. It also has a very nice, mobile-friendly web UI to access PuTTY's graphical interface and is actively supported! Make sure to look at the complete documentation, available on Github ! Post any questions or issues relating to this docker in this thread. Quote Link to comment
ijuarez Posted August 16, 2018 Share Posted August 16, 2018 Awesome!Sent from my BND-L34 using Tapatalk Quote Link to comment
DZMM Posted August 17, 2018 Share Posted August 17, 2018 I use screen a lot on my VMs - if I install this can I easily resume sessions? Quote Link to comment
Djoss Posted August 17, 2018 Author Share Posted August 17, 2018 1 hour ago, DZMM said: I use screen a lot on my VMs - if I install this can I easily resume sessions? If the container is not stopped/restarted and network connection is not broken, your session will remain as long as you want. Quote Link to comment
dukiethecorgi Posted September 8, 2018 Share Posted September 8, 2018 I can connect to the container with VNC, but not with the web interface. The interface opens, but in the left corner it says "Putty" with a red X for server disconnected (error 1006). Connecting using Chrome Quote Link to comment
Djoss Posted September 8, 2018 Author Share Posted September 8, 2018 1 hour ago, dukiethecorgi said: I can connect to the container with VNC, but not with the web interface. The interface opens, but in the left corner it says "Putty" with a red X for server disconnected (error 1006). Connecting using Chrome Try to clean the browser's cache. Quote Link to comment
dukiethecorgi Posted September 9, 2018 Share Posted September 9, 2018 That worked, thanks! Quote Link to comment
Salmack Posted February 23, 2019 Share Posted February 23, 2019 How do I past from another window into the putty terminal webgui Quote Link to comment
Djoss Posted February 24, 2019 Author Share Posted February 24, 2019 You can use the Clipboard button of the web interface, in the upper right. Quote Link to comment
ndaringer Posted July 9, 2019 Share Posted July 9, 2019 how do I pass a serial port to this container? my router has a serial port and I'd like to access it with this. Quote Link to comment
Djoss Posted July 10, 2019 Author Share Posted July 10, 2019 11 hours ago, ndaringer said: how do I pass a serial port to this container? my router has a serial port and I'd like to access it with this. You need to edit container's settings and add a "Device". The device should be the one associated to your serial port (e.g. /dev/ttyS0). Then you also need to add a variable "SUP_GROUP_IDS" with the value sets to the group of your serial device. You can get it by executing: stat -c '%g' /dev/ttyS0 1 Quote Link to comment
ndaringer Posted July 13, 2019 Share Posted July 13, 2019 On 7/9/2019 at 9:18 PM, Djoss said: You need to edit container's settings and add a "Device". The device should be the one associated to your serial port (e.g. /dev/ttyS0). Then you also need to add a variable "SUP_GROUP_IDS" with the value sets to the group of your serial device. You can get it by executing: stat -c '%g' /dev/ttyS0 Thank you! This worked perfectly! Quote Link to comment
TristBella Posted July 19, 2019 Share Posted July 19, 2019 Is it possible to "cut/paste" to this docker? Regular putty uses "highlight" to copy and "right click" to paste. I tried using the "clipboard" button, but that did not work to paste into putty. Quote Link to comment
Djoss Posted July 21, 2019 Author Share Posted July 21, 2019 On 7/19/2019 at 2:38 PM, TristBella said: Is it possible to "cut/paste" to this docker? Regular putty uses "highlight" to copy and "right click" to paste. I tried using the "clipboard" button, but that did not work to paste into putty. Did you try to past with Shift-Insert or with Shift-Ctrl-v ? Quote Link to comment
HALPtech Posted April 28, 2020 Share Posted April 28, 2020 Does this support generating SSH keys? I don't see the typical "Auth" options under "SSH" in the PuTTY settings. Quote Link to comment
Spazhead Posted September 15, 2020 Share Posted September 15, 2020 (edited) hi there, hope someone can help me, trying to use Putty docker to access my APC PDU, i copied the setting i have from my windows putty but the display is all distorted. My windows putty works fine.. Edited September 15, 2020 by Spazhead Quote Link to comment
Djoss Posted September 15, 2020 Author Share Posted September 15, 2020 17 hours ago, Spazhead said: hi there, hope someone can help me, trying to use Putty docker to access my APC PDU, i copied the setting i have from my windows putty but the display is all distorted. My windows putty works fine.. The first screenshot you provided doesn't seem to come from the container's UI... is it the case? Quote Link to comment
Spazhead Posted September 15, 2020 Share Posted September 15, 2020 thats from the webgui , i can do another one Quote Link to comment
Djoss Posted September 29, 2020 Author Share Posted September 29, 2020 On 9/15/2020 at 7:07 PM, Spazhead said: thats from the webgui , i can do another one Ok, the blue bar on top of the window was confusing me, it is usually not there... Did you try to reduce the font size in PuTTY settings ? Quote Link to comment
Spazhead Posted October 3, 2020 Share Posted October 3, 2020 On 9/29/2020 at 2:04 PM, Djoss said: Ok, the blue bar on top of the window was confusing me, it is usually not there... Did you try to reduce the font size in PuTTY settings ? here it is with default font size, still the same Quote Link to comment
Djoss Posted October 14, 2020 Author Share Posted October 14, 2020 On 10/2/2020 at 11:50 PM, Spazhead said: here it is with default font size, still the same In PuTTY config, under "Terminal", maybe you can try to enable "Implicit CR in every LF" ? Quote Link to comment
Spazhead Posted October 14, 2020 Share Posted October 14, 2020 18 hours ago, Djoss said: In PuTTY config, under "Terminal", maybe you can try to enable "Implicit CR in every LF" ? hi there, try that, it's still the same. thanks Quote Link to comment
Djoss Posted October 20, 2020 Author Share Posted October 20, 2020 On 10/14/2020 at 5:05 PM, Spazhead said: hi there, try that, it's still the same. thanks Sorry, I'm not sure what's going on... There are a few settings under "Terminal" you can play with. I do have few devices connected through serial and I don't have such issue. Quote Link to comment
frakman1 Posted February 2, 2021 Share Posted February 2, 2021 On 7/9/2019 at 9:18 PM, Djoss said: You need to edit container's settings and add a "Device". The device should be the one associated to your serial port (e.g. /dev/ttyS0). Then you also need to add a variable "SUP_GROUP_IDS" with the value sets to the group of your serial device. You can get it by executing: stat -c '%g' /dev/ttyS0 This is SUPER helpful. Thank you! Can you please add notes to that effect in the template overview? I would never have known this if I didn't come across this forum. I have initially just added the --device paramter but that wasn't enough. This is what I did to make it work for my serial USB cable /dev/ttyUSB0 Run this on UNRAID terminal: # stat -c '%g' /dev/ttyUSB0 16 Add these paramters to the Docker template Then use that device using the Serial option: Interactive serial console now working: Quote Link to comment
Djoss Posted February 3, 2021 Author Share Posted February 3, 2021 7 hours ago, frakman1 said: This is SUPER helpful. Thank you! Can you please add notes to that effect in the template overview? I would never have known this if I didn't come across this forum. I have initially just added the --device paramter but that wasn't enough. This is what I did to make it work for my serial USB cable /dev/ttyUSB0 Run this on UNRAID terminal: # stat -c '%g' /dev/ttyUSB0 16 Add these paramters to the Docker template Then use that device using the Serial option: Interactive serial console now working: Yes, this is something that could be added to the documentation on GitHub. Also, I think the part to get and set the supplementary group could be done automatically. The only thing that would be needed is exposing the device to the container. I will look at this... Quote Link to comment
Recommended Posts
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.