Active questions tagged putty - Super User most recent 30 from superuser.com 2019-02-23T09:16:59Z http://andreidionian.com/?id=feeds/tag?tagnames=putty http://www.creativecommons.org/licenses/by-sa/3.0/rdf http://andreidionian.com/?id=q/1408711 0 Can't use umlauts (äöü) in any editor over ssh Black http://andreidionian.com/?id=users/527439 2019-02-23T08:13:02Z 2019-02-23T08:13:02Z <p>If I write Umlauts (äöü) in putty, then weird things happen. It seems like it worked but as soon as I go over with the cursor then it goes like this:</p> <p><a href="https://i.stack.imgur.com/Etf6s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Etf6s.png" alt="1"></a></p> <p><a href="https://i.stack.imgur.com/0PoPF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0PoPF.png" alt="2"></a></p> <p><a href="https://i.stack.imgur.com/ln6Qr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ln6Qr.png" alt="3"></a></p> <p>And if I go very often from left to right then this is the result:</p> <p><a href="https://i.stack.imgur.com/qT0vP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qT0vP.png" alt="4"></a></p> <p>Is this a known bug? How to make it work?</p> http://andreidionian.com/?id=q/898060 0 Connect to sagemcom 3184 router with telnet or ssh eskimoco2 http://andreidionian.com/?id=users/434706 2015-04-05T13:11:54Z 2019-02-23T07:12:14Z <p>I try to connect to my router (sagemcom f@st 3184) with Putty with ssh or telnet, and it show me "Connection refused". I try to forward the port of ssh in the configuration of the router, but it didn't work. What I need to do?</p> http://andreidionian.com/?id=q/1408279 1 Create pfx-certificate Robert http://andreidionian.com/?id=users/1001062 2019-02-21T20:25:59Z 2019-02-21T22:13:07Z <p>I'm trying to create a pfx-certificate from my <em>Let's encrypt</em> certificate.  I'm using PuTTY to access ssh and using this command: </p> <pre><code>openssl pkcs12 -out mattesnille.pfx -inkey ~/ssl/keys/keyname.key -in ~/ssl/certs/certificatenamn.crt </code></pre> <p>I get the following message: </p> <blockquote> <p>140372845418384:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1220:140372845418384:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec</p> </blockquote> <p>Can anyone explain to an absolute beginner what this means?</p> <p>It creates a pfx-certificate with 0 bytes. </p> http://andreidionian.com/?id=q/799764 4 SCP error 'unable to open' Charles Noon http://andreidionian.com/?id=users/358821 2014-08-19T01:01:45Z 2019-02-19T17:55:54Z <p>So, I set up a SSH server (freeSSH, win7) and can connect to it just fine with PuTTY. I then tried to use pscp to transfer a file (foobar.txt, from client to server). I cd-ed to the dir pscp.exe was in, then did <code>pscp.exe foobar.txt user@IP:C:\Users...</code> and got the response <code>user@IP's password:</code>. </p> <p>At this I promptly typed in the password, to be met with <code>pscp: unable to open C:\Users...: permission denied</code>. The error for getting the password wrong is different, more specifically; <code>Access denied</code>.</p> <p>(IP is the remote IP, and C:\Users... is the remote filepath)</p> http://andreidionian.com/?id=q/842425 9 Re-open Putty Config on Connection Close user3267976 http://andreidionian.com/?id=users/391507 2014-11-19T21:10:32Z 2019-02-19T00:53:02Z <p>I have been using putty on Windows 8.1 for some time now. There is only one problem I have with it. Is it possible to have the configuration Window open up again when a connection fails or exits without restarting the program again?(it gets annoying after a while...) I have searched through all of the settings and found no success however, I have heard that it can be done. Perhaps, I am simply missing something or maybe just crazy.</p> <p>Has anyone configured this successfully?</p> http://andreidionian.com/?id=q/1406948 1 Install OpenSSL-style SSL certificate on Windows Vladimirs Kacs http://andreidionian.com/?id=users/999636 2019-02-18T08:50:14Z 2019-02-18T10:55:20Z <p>Context: I am writing an application that needs to connect to an FTP server, which may be FTPS (i.e. it might be encrypted with TLS.) To test it, I have installed FileZilla Server and (with it) generated a certificate file (which looks exactly like a putty-generated key: base64 split into 65-character lines,) however I can't find a way to import this certificate into Windows Certification Authority. </p> <p>How do I do this?</p> <p>Certificate file looks something like this:</p> <pre><code>-----BEGIN RSA PRIVATE KEY----- MIIC7QIBAAKBoQCp248qFhlBWwSLVOmVrsSSbS6vGgF3Oun9w9cW0Uwxc8KSJZAC J4q9mpdKk+XdicNw2WLb19X/Fp3k8unCJ0QS20G5MVZ8wwNHvafke6SKzqkCr2S8 fOVhoWTnKqvUKpSx+Ib2Nd1w7/30UJpWgYsP1wlbbibeCQDAgUSMGVJCIU/iZD0u 751eXZT4ZeuIMt0KTRJCCNdy91WEGVDLoJhlAgMBAAECgaEAmsgARZGtoeiW04Ck +kkvx17G07kW7Nc6sovrTFec3tNl0ld4Sv5NZ0mf482yAZawCf2OIFcmIjUx3Jee e9XcKnKyCVf0P+xU6OLiQ0qIPhNmnk2SVhZKzCqgle51b3r21ERWdoUQJRNLBOVu i863mjPFExN6ke679aZFStuHsIn3HInlqpc8hzMJs2CwrefYBqJ/MiLBxLK5o0/i R5GIYQJRAOHcdYCF0uxY1524SAvZCqAeNputVz6U2yAaOTpeAet43acCqUVMzMpo FLC3RfWsEd1h4icqs5ASKVi5aHkQkEJFjiVst+ggu17OdhcwszVzAlEAwIX9U53z 8JZuTBoSwiVfXv4n/61MvgXwYMh/M1C/QdytmVLv05YzwDhicsSIYqxGfVhYpnDj pb0H9W/h0tZ0P7EegpKSqJOLOQqTZE2CxMcCUGnhksgMdGPOBk5u7H95YQzM/Saf 7U1uNQdoo7lkBpxfzfEUQ0w0g7DDeCeb01UnNDzHPWDFGOaKTQ3F5V8Tz7zxpICQ 5eoRJiV8vkmC0BBXAlEAlVxeOKzmP9S1JV1lCDIuV2geaAFu9E1vO+bQqGMQvmwS Uk1BuolhBNO5rQhENykoVr5fqGEUe9S3g/aU4Bl4fqFO5kYIebhd3pcR2lM4DKkC UDxDUW4PCm0EnDbfJlqGItMiImPfnVlMBTHfIcc1oaHksqS/i0mnkDs4uOZtQerz uRSxqHFLYnoIjRu/Ju0QLxELzzeQM4oa4B5GOiHVnWoA -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- MIIC2TCCAiKgAwIBAgIEKqGuMTANBgkqhkiG9w0BAQsFADCBkDEVMBMGA1UEAwwM MTAuMTUyLjguMTA1MQswCQYDVQQGEwJMVjEOMAwGA1UECAwFUmlnYXMxDTALBgNV BAcMBFJpZ2ExDTALBgNVBAoMBFRlc3QxDTALBgNVBAsMBFRlc3QxLTArBgkqhkiG 9w0BCQEWHlZsYWRpbWlycy5LYWNzQG5lLmxpbmVkYXRhLmNvbTAeFw0xOTAyMTMx NTMwNDhaFw0yMDAyMTMxNTMwNDhaMIGQMRUwEwYDVQQDDAwxMC4xNTIuOC4xMDUx CzAJBgNVBAYTAkxWMQ4wDAYDVQQIDAVSaWdhczENMAsGA1UEBwwEUmlnYTENMAsG A1UECgwEVGVzdDENMAsGA1UECwwEVGVzdDEtMCsGCSqGSIb3DQEJARYeVmxhZGlt aXJzLkthY3NAbmUubGluZWRhdGEuY29tMIG/MA0GCSqGSIb3DQEBAQUAA4GtADCB qQKBoQCp248qFhlBWwSLVOmVrsSSbS6vGgF3Oun9w9cW0Uwxc8KSJZACJ4q9mpdK k+XdicNw2WLb19X/Fp3k8unCJ0QS20G5MVZ8wwNHvafke6SKzqkCr2S8fOVhoWTn KqvUKpSx+Ib2Nd1w7/30UJpWgYsP1wlbbibeCQDAgUSMGVJCIU/iZD0u751eXZT4 ZeuIMt0KTRJCCNdy91WEGVDLoJhlAgMBAAEwDQYJKoZIhvcNAQELBQADgaEAm/Gz 9oX/Qt3X8PsDpUcIG8E9CO72D3i2Hm9FJ5Wn0UKpJC5PSqZvtMNfS7xQ2B/mjNVY RsdKD00QqK6w8jMy0SZ1/CHSe+KZXQLTc79RvJ1zep6qbXGcZaCcAjM2L9cYS4XX +W9miQBxwnFtGARv5xXmyiT77YEnxfq8igWFwKaRK/Hw76UwMoPBrk/Ar2cq0xat /JL0EvTX1MSzKwmFQw== -----END CERTIFICATE----- </code></pre> http://andreidionian.com/?id=q/1406944 -2 Network error: Connection refused putty user999627 http://andreidionian.com/?id=users/999627 2019-02-18T08:16:56Z 2019-02-18T09:15:22Z <p>I am trying to log in to my server with ssh keys (I use putty to do it) but every time I try to connect it says <strong>Network error: Connection refused.</strong></p> <p>What could be the possible error? And how to rectify it?</p> http://andreidionian.com/?id=q/1406762 1 Troubles with putty to connect to VM CentOS 7 (Vagrant / Virtualbox) Cesare http://andreidionian.com/?id=users/999407 2019-02-17T17:20:02Z 2019-02-18T04:08:32Z <p>I've created a VM CentOS7 using Vagrant (2.2.3) and Virtual Box (5.2.24), on Windows 10 in this way (following these instructions ... <a href="https://blog.centos.org/2019/02/updated-centos-vagrant-images-available-v1901-01/" rel="nofollow noreferrer">https://blog.centos.org/2019/02/updated-centos-vagrant-images-available-v1901-01/</a>)</p> <pre><code>vagrant init centos/7 vagrant up </code></pre> <p>And all works fine</p> <p>Then I've installed the Guest Addition (rif. <a href="https://github.com/dotless-de/vagrant-vbguest" rel="nofollow noreferrer">https://github.com/dotless-de/vagrant-vbguest</a>), in this way</p> <pre><code>vagrant plugin install vagrant-vbguest </code></pre> <p>And my final <code>Vagrantfile</code> is the follow </p> <pre><code>Vagrant.configure("2") do |config| config.vm.box = "centos/7" config.vm.network "private_network", ip: "192.168.33.10" config.vm.synced_folder ".", "/vagrant", type: "virtualbox" config.vm.provider "virtualbox" do |vb| vb.memory = "4096" vb.name = "Test" end end </code></pre> <p>The <code>vagrant up</code> execution works fine</p> <pre><code>$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==&gt; default: Checking if box 'centos/7' version '1901.01' is up to date... ==&gt; default: Clearing any previously set forwarded ports... ==&gt; default: Clearing any previously set network interfaces... ==&gt; default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==&gt; default: Forwarding ports... default: 22 (guest) =&gt; 2222 (host) (adapter 1) ==&gt; default: Running 'pre-boot' VM customizations... ==&gt; default: Booting VM... ==&gt; default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection reset. Retrying... default: Warning: Connection aborted. Retrying... default: Warning: Remote connection disconnect. Retrying... ==&gt; default: Machine booted and ready! [default] GuestAdditions 5.2.24 running --- OK. ==&gt; default: Checking for guest additions in VM... ==&gt; default: Configuring and enabling network interfaces... ==&gt; default: Mounting shared folders... default: /vagrant =&gt; D:/Cesare/Personale/VagrantCentOS7/TestNew ==&gt; default: Machine already provisioned. Run `vagrant provision` or use the `--provision` ==&gt; default: flag to force provisioning. Provisioners marked to run always will still run. </code></pre> <p>The VM starts and <code>vagrant ssh</code> works fine, but when I try to connect via Putty (SSH on port 22), using the IP address (192.168.33.10) I obtain the following error</p> <p><a href="https://i.stack.imgur.com/IOYyl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IOYyl.png" alt="enter image description here"></a></p> <p>Where am I doing wrong?</p> http://andreidionian.com/?id=q/1050480 1 PuTTY displays unreadable characters Bas Schreuder http://andreidionian.com/?id=users/568529 2016-03-09T08:13:59Z 2019-02-14T11:37:05Z <p>As you can see below in the image, when I use PuTTY it displays these unreadable characters. I have been Googling forever but not yet found the answer, so I thought maybe someone on SO knows this. All settings are unchanged in this program. I have tried many SSH clients; all do this. Is this something with Windows?</p> <p><img src="https://i.stack.imgur.com/ZP4ST.jpg" alt="PuTTY displays unreadable characters"></p> http://andreidionian.com/?id=q/254090 6 How to paste from clipboard into KiTTY SSH terminal window? Ivan http://andreidionian.com/?id=users/42671 2011-03-07T00:22:48Z 2019-02-12T00:37:15Z <p>I use KiTTY (a PuTTY derivative) to access SSH servers from a Windows PC. But I can't find how to paste text from Windows clipboard into KiTTY SSH console (neither Ctrl+V, nor Ctrl+Shift+V seem to work, and there does not seem to be Copy/Paste commands in the window's context menu). Maybe you know?</p> http://andreidionian.com/?id=q/1404629 0 MacOS PuTTY install -- blank configuration form John R. Woodward http://andreidionian.com/?id=users/654328 2019-02-11T23:22:01Z 2019-02-11T23:22:01Z <p>I installed PuTTY from MacPorts on my Mac Air running Mojave. There were no installation errors. Loading PuTTY from the command line or the Xterm runs the program but the configuration window loads without displaying the text. The frame of the app is there, and the outlines of all the buttons, menus and boxes, including the text boxes. When I type in the text boxes, the cursor moves but the text does not appear. I can close PuTTY by closing its x11 window. ps -ax shows that PuTTY is running. </p> http://andreidionian.com/?id=q/1291821 0 Putty's freezes at home but works fine at office Hem http://andreidionian.com/?id=users/578950 2018-02-04T04:07:05Z 2019-02-09T00:11:30Z <p>I've an interesting problem.</p> <p>Connecting to Ubuntu Server 16.04 from my Windows 7 through Putty freezes on my home network. "ls -l" displays a few lines and freezes. Opening vi makes the screen blank. It never comes back after that.</p> <p>strace with any Linux shell command freezes as well. I tried rebooting Windows and Linux both. Tried different versions of Putty. Nothing helped me. </p> <p>Same works without any problems from my office network. I tried rebooting Windows and Linux both. Tried different versions of Putty. Nothing helped me.</p> <pre><code> ubuntu@5x:~$ strace ifconfig execve("/sbin/ifconfig", ["ifconfig"], [/* 20 vars */]) = 0 brk(NULL) = 0xd0b000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=27822, ...}) = 0 mmap(NULL, 27822, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7feb7de1a000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK </code></pre> <p><a href="https://i.stack.imgur.com/3M9d6.png" rel="nofollow noreferrer">Putty freeze screenshot</a></p> http://andreidionian.com/?id=q/1403353 0 Accessing FTP on an external network blank_ http://andreidionian.com/?id=users/995580 2019-02-08T00:07:52Z 2019-02-08T06:29:30Z <p>I've recently set up my first apache server so I do appologise if this question is very stupid.</p> <p>I am hosting my server from home so I'm having it go through a redictory server (cloudflare) to preserve private details. I have created an ftp link for personal access to transfer and store files on the server but I'm not able to connect to it through FileZilla or Putty.</p> <p>Is there a way for me to connect to the ftp server on an external network (eg coffee shop wifi) and transfer files?</p> <p>Thanks in advance. :) </p> http://andreidionian.com/?id=q/861521 2 Putty to Windows shell: Is there any command to copy text/output to clipboard? Sopalajo de Arrierez http://andreidionian.com/?id=users/268923 2015-01-06T22:22:26Z 2019-02-05T16:01:50Z <p>If I do in Windows shell:</p> <pre><code>C:\Users\Luis&gt;echo hello hello </code></pre> <p>... the output goes to screen/terminal (stdout, we could say). But if I do:</p> <pre><code>C:\Users\Luis&gt;echo hello | clip </code></pre> <p>... the output goes to <strong>clipboard</strong>, so I can paste it in any other program. </p> <p>If I log to any Windows remote shell by using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" rel="nofollow noreferrer">Putty</a> it would be fine to have some <strong>equivalent tool</strong>, but just trying to use "clip" gives no results at all, and the <code>Copy All To Clipboard</code> option of Putty client is not exactly the same (it copies the whole screen). </p> <p>I don't know if this is server-dependant: my server at the Windows side is <a href="http://www.bitvise.com/ssh-server-download" rel="nofollow noreferrer">Bitvise SSH Server</a>.</p> <p>Thanks you.</p> http://andreidionian.com/?id=q/829531 0 CMD Line executable of PUTTY calling a script FlyEagle http://andreidionian.com/?id=users/382108 2014-10-21T15:02:18Z 2019-02-04T20:01:20Z <p>I have been trying to automate a telnet process using a script of sorts. Whenever I get a hint, it points to PUTTY.</p> <p>I have downloaded PUTTY and the derivatives thereof, (plink.exe) to get my script working. I cant seem to get past ground zero...</p> <pre><code>plink -telnet scriptfile.txt </code></pre> <p><em>(all files local)</em></p> <p>just seems to hang at this point. What is the correct syntax?</p> http://andreidionian.com/?id=q/931473 0 Batch file or script to telnet to multiple hosts, log initial output then close and test next host Faldinio http://andreidionian.com/?id=users/269675 2015-06-23T12:14:14Z 2019-02-04T00:02:40Z <p>I have a large list of IP addresses from a database that I need to sanitize and determine which type of host (it'll be one of 2 device types) each IP address relates to.</p> <p>Is there a way of using a batch file and/or Putty to telnet to (but not necessarily log in to) each host, check the initial message from the host, log it to a file and then disconnect and test the next one and so on?</p> http://andreidionian.com/?id=q/516435 1 What sequence does PuTTY send for ALT + DEL aef http://andreidionian.com/?id=users/68284 2012-12-07T20:53:20Z 2019-02-03T19:01:35Z <p>When I connect to my Debian Wheezy Beta 4 server with PuTTY 0.62 on Windows 7 I'm experiencing a problem. My login shell is Zsh and it is configured to handle <kbd>ALT</kbd> + <kbd>DEL</kbd> for the action <code>delete-word</code> (deletes one word to the right of the cursor). The line in configuration looks like this:</p> <pre><code>bindkey -e "\e[3;3~" kill-word </code></pre> <p>The binding works nicely when connected via the <code>ssh</code> command from a <code>gnome-terminal</code>. But when I connect via PuTTY this action is not executed. Instead a <code>[3~</code> is put out to the console. As far as I see it this is the unescaped sequence for the <kbd>DEL</kbd> key in <code>xterm</code>. For a while I thought PuTTY would simply ignore the <kbd>ALT</kbd> modifier and send only <kbd>DEL</kbd>, but if that would be the case, the action bound to <kbd>DEL</kbd> would have been executed as if I pressed only that key.</p> <p>So I guess PuTTY is using some sequence for the key combination which I do not know and which makes to output <code>[3~</code> appear on screen. How can I find out which sequence PuTTY sends to configure Zsh to handle that correctly?</p> <p><strong>Update</strong>: It seems that PuTTY is supposed to ignore all <kbd>ALT</kbd> modifier keystrokes in its current implementation. Here is an excerpt from the source code file <code>TERMINAL.C</code> which deletes the <kbd>ALT</kbd> flag from the modifiers variable:</p> <pre><code>/* * Alt is only used for Alt+keypad, which isn't supported yet, so * ignore it. */ modifiers &amp;= ~PKM_ALT; </code></pre> <p>That doesn't explain to me why pressing <kbd>ALT</kbd> + <kbd>DEL</kbd> doesn't have the same effect as pressing just <kbd>DEL</kbd>. Also it doesn't explain why the default key combination for the <code>kill-word</code> action in Zsh (<kbd>ALT</kbd> + <kbd>D</kbd>) works fine.</p> http://andreidionian.com/?id=q/1401378 0 SSH websetup -y "command not found" - Putty (Mac) Daniel Mclaughlan http://andreidionian.com/?id=users/993333 2019-02-02T18:36:18Z 2019-02-02T19:28:38Z <p>Our university have given us webspace to host our webpages this term. The instructions given include using SSH client Putty to connect to the server and run the command <strong>websetup -y</strong> however this is being returned as command not found.</p> <p>I'm on macOS Mojave and I've put my files in the public_html folder using my FTP client (Transmit). I'm also aware SSH is built in to Terminal and can successful connect to the server that way.</p> <p>I tried the <a href="https://www.ssh.com/ssh/putty/mac/" rel="nofollow noreferrer">MacPorts</a> version of Putty just in case there was anything different about using Putty itself and can successfully connect however I get the same 'command not found' when trying websetup.</p> <p>My understanding is the Putty is just to connect to server so I feel it's unnecessary when I can use SSH in the Terminal, however the site itself is unreachable: curl finds a 302 temporary redirect to a 404 page. <a href="https://i.stack.imgur.com/nydIT.png" rel="nofollow noreferrer">curl 302 error</a></p> <p>I've been able to find very little about the <strong>websetup</strong> command online so i'm not entirely sure what it's intended for? I got the impression that it may be to do with permissions however even when I (temporarily) chmod to 777 the site is still unreachable.</p> <p>If it helps, my $PATH variable is currently set to: <a href="https://i.stack.imgur.com/B4ZNS.png" rel="nofollow noreferrer">$PATH variable</a></p> <p>Can anyone point me in the right direction? Is this an issue on my University's end rather than mine?</p> http://andreidionian.com/?id=q/924859 1 What is causing PuTTy to not connect to Raspberry Pi? JustBlossom http://andreidionian.com/?id=users/456325 2015-06-04T18:00:04Z 2019-02-01T17:29:12Z <p>I have a Raspberry Pi, and I have an SD card with Rasbian on it that is currently in the Pi. <br><br> I have a laptop with Windows 8.1 on it, and I have connected it to the Pi using an Ethernet cable. I want to SSH in to the Pi, so I have installed PuTTy.</p> <p>I went to the windows command line and typed in <code>ipconfig</code> and looked under Ethernet adapter Ethernet > Autoconfiguration Ipv4 Address to find the ip address of the Pi. </p> <p>I took that IP and entered it under "Hostname(or IP address)" in PuTTy. I gave the name a session, pressed save and open. Now, I am getting the following error:</p> <pre><code>Fatal Error: Network Error: Connection Refused </code></pre> <p>I looked online, but I couldn't find a solution for windows (but there are a lot for Linux). I tried making sure I had the right IP address by trying to ping the Pi (and I can). I read other posts saying the error is caused by the server blocking the connection, but I am not sure how I would go about fixing that. The only thing I can see that looks strange in the command line to me is that there is no default gateway set up for Ethernet. However, I thought that I would need access to the Pi in order to change that.</p> <p>Can someone tell me if there is a step I am missing in my setup that could be causing this error?</p> <p>I'm new to this, so any help is appreciated. Thanks!</p> http://andreidionian.com/?id=q/1400923 0 How to stop MobaXterm from killing the process [duplicate] John http://andreidionian.com/?id=users/992813 2019-02-01T09:27:29Z 2019-02-01T09:27:29Z <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/111631/leave-bash-script-running-on-remote-terminal-while-not-logged-in" dir="ltr">Leave bash script running on remote terminal while not logged in?</a> <span class="question-originals-answer-count"> 1 answer </span> </li> </ul> </div> <p>I'm using MobaXterm to run different processes however the issue I'm facing is closing the SSH session terminates the process I was running. I need the process to continue running in the background even wen the session has been closed. I'm currently using the nohup command to execute the process. Any suggestions?</p> <p>Many Thanks</p> http://andreidionian.com/?id=q/1397532 0 Conemu - create a task for loading a putty session with credential Decagrog http://andreidionian.com/?id=users/988959 2019-01-23T15:52:31Z 2019-01-31T09:45:08Z <p>I would like create a task on conemu for launching a putty session with autologin in order to speedup the process of connecting via ssh </p> <p>Security is not an issue since most machines I need to interact are local one's (mostly raspberries or similar)</p> <p>Right now I've tried the command: <code>putty.exe -l user -pw password host</code></p> <p>The autologin works but I get a console outside the conemu environment. There is a way to launch putty in a new conemu console and pass additional credential parameter?</p> http://andreidionian.com/?id=q/1397271 1 Using Plink.exe to remotely logon to remote RedHat Linux server to run local Perl script HempKnight http://andreidionian.com/?id=users/988626 2019-01-23T03:34:15Z 2019-01-30T09:14:31Z <p>Long time member, first time poster. I have researched this issue thoroughly but I have not found a solution to this particular issue.</p> <p>I work in a NOC and I am responsible for monitoring servers. From time to time I get sent lists with hundreds of IPs that I need to check and get the status of for a report.</p> <p>While researching this issue I found this script that seemed it would do exactly what I need. </p> <p>LinuxPingScript.pl</p> <pre><code>#!/usr/bin/perl use Net::Ping; use strict; open(INFILE, "&lt;", "ip_list") or die("cannot open INFILE: $!"); my @ip_array = &lt;INFILE&gt;; close(INFILE); open(OUTFILE, "&gt;", "ping_output") or die("unable to write output: $!"); chomp(@ip_array); $p = Net::Ping-&gt;new(); foreach(@ip_array) { if($_ =~ /\d+.\d+.\d+.\d+/) { if($p-&gt;ping($&amp;)) { print OUTFILE ("$`is responding to ping.\n"); } else { print OUTFILE ("$`is NOT responding to ping.\n"); } } } close(OUTFILE); </code></pre> <p>I open a command prompt on my local windows machine and I run this command:</p> <pre><code>plink -ssh username@Ipaddress -pw password (perl) -m C:\Users\path\to\file\LinuxPingScript.pl </code></pre> <p>My thoughts on formatting the command this way is as follows: </p> <p><code>plink -ssh username@Ipaddress -pw password</code> (this successfully logs me into the remote server) </p> <p>Then I extended it to this:</p> <p><code>plink -ssh username@Ipaddress -pw password (hostname;pwd;whoami;perl -e perl)*</code> (this will ssh into the server, and then run the commands: hostname, pwd, whoami, &amp; <strong>perl -e perl</strong> (this was in effort to start the perl interpreter on the remote server before calling the script with -m)</p> <p>I get the output from the first 3 commands then I get a blinking cursor under the results of the whoami command. </p> <p>So now I try to set the path to the local script which you see posted above:</p> <blockquote> <p>plink -ssh username@Ipaddress -pw password (hostname;pwd;whoami;perl) -m C:\Users\path\to\file\LinuxPingScript.pl</p> </blockquote> <p>When I run the above command I get this error: </p> <blockquote> <p>bash: -c: line 0: syntax error near unexpected token <code>-m' bash: -c: line 0:</code>(hostname;perl) -m C:\Users\path\to\file\LinuxPingScript.pl`</p> </blockquote> <p>Is there another way to start the interpreter before I call the script? Or is there another way to go about this? I have to run the ping test from the remote server that's which I normally access with Putty. But I thought since this could be automated I could use Plink. </p> <p>I'm pretty new to this and would appreciate any help I can get. </p> http://andreidionian.com/?id=q/1398511 0 Clone git bare repository behind private vpn Mindexperiment http://andreidionian.com/?id=users/990023 2019-01-25T18:23:19Z 2019-01-29T16:18:39Z <p>I'm working on a basic project under an aws network. The project use a tipical vpn with a public subnet with an elb that forward traffic to a private subnet where the code resides.</p> <p>I used to work on the private subnet with a tunnel launched throught putty and then passing files with filezilla. The process works fine.</p> <p>Now, I want to go a step further and start using git as version controller of my project, I set up an initial repository and a bare repository inside the private subnet.</p> <p>Then in my local desktop I have to clone the bare repository and start working on the project and push changes to the remote one.</p> <p>With my tunnel on, I try with:</p> <pre><code>git clone ssh://private_ip/path/to/bare/repo.git repo </code></pre> <p>but the bash say:</p> <pre><code>connect to host private_ip port 22: connection timed out please make sure you have the correct access rights </code></pre> <p>I try with a combination of access but none seems to work:</p> <pre><code>git clone ssh://user@public_ip:22/private_ip/path/to/bare/repo.git repo //permission denied (publickey) git clone ssh://user@private_ip/path/to/bare/repo.git repo //connection timed out </code></pre> <p>am I missing something? What the correct url to connect to the private subnet under a tunnel? Is there a better way to manage the vcs?</p> <p>Thank you</p> http://andreidionian.com/?id=q/1399642 0 Unable to login from Kerberos client to server without password Hrushi http://andreidionian.com/?id=users/985048 2019-01-29T13:03:34Z 2019-01-29T13:03:34Z <p>I had installed Kerberos (with KDC) server on RHEL and also installed the Kerberos client on Ubuntu. Able to perform the ssh login from client to server through Kerberos (without password).</p> <p>Now, I want to use same RHEL Kerberos server that created but Kerberos client should be on Windows 2012 R2.</p> <p>I had installed the Heimdal, network identity manager in Windows machine and configured the putty by following the steps mentioned in below links. I can see key on klist as well in command prompt but not able to login to Kerberos server without password through putty.</p> <pre><code>http://computing.help.inf.ed.ac.uk/kerberos-windows http://computing.help.inf.ed.ac.uk/installing-putty </code></pre> <p>Can someone please help me on this.</p> <p>Thanks, Hrushi</p> http://andreidionian.com/?id=q/948631 2 Putty error "Network error:Software caused connection abort" karan ratnaparkhi http://andreidionian.com/?id=users/476313 2015-07-31T23:22:45Z 2019-01-27T13:01:55Z <p>I am trying to connect to host server using putty (for SSH). In putty I enter my server's IP and port as 22 and when click 'open' get this error of connection abort and putty becomes inactive. I tried changing the putty settings as suggested here (<a href="http://andreidionian.com/?id=questions/294824/putty-network-error-software-caused-connection-abort">PuTTY Network Error: Software caused connection abort</a>) but still the issue remains. </p> <p>I don't even see the prompt to enter login credentials, connection is refused prior to that.<br> Called the tech support, they are able to connect via putty and informed me to check with my ISP.</p> <p>Not able to understand what the issue is. Please help!</p> http://andreidionian.com/?id=q/1298487 4 How to setup SSH/PuTTY to use Yubikey OpenPGP authentication? burnersk http://andreidionian.com/?id=users/111233 2018-02-26T13:08:53Z 2019-01-27T00:02:55Z <p>I would like to use my Yubikey's OpenPGP interface to authenticate myself against my OpenSSH server on my Windows 10 computer as <a href="https://developers.yubico.com/PGP/SSH_authentication/Windows.html" rel="nofollow noreferrer">showcased here</a>.</p> <p>I had <a href="https://developers.yubico.com/PGP/Importing_keys.html" rel="nofollow noreferrer">created the keys according to the documentation</a>.</p> <p><code>gpg --card-status</code> would return the following:</p> <pre><code>Reader ...........: Yubico Yubikey 4 OTP U2F CCID 0 Application ID ...: BEEFBEEFBEEFBEEFBEEFBEEF99990000 Version ..........: 2.1 Manufacturer .....: Yubico Serial number ....: 99999999 Name of cardholder: John Doe Language prefs ...: en Sex ..............: male URL of public key : https://example.com/pgp.asc Login data .......: johndoe Signature PIN ....: required Key attributes ...: rsa4096 rsa4096 rsa4096 Max. PIN lengths .: 127 127 127 PIN retry counter : 3 3 3 Signature counter : 39 Signature key ....: BEEF BEEF BEEF BEEF BEEF BEEF BEEF BEEF BEEF 0001 created ....: 2017-11-20 00:00:01 Encryption key....: BEEF BEEF BEEF BEEF BEEF BEEF BEEF BEEF BEEF 0002 created ....: 2017-11-20 00:00:02 Authentication key: BEEF BEEF BEEF BEEF BEEF BEEF BEEF BEEF BEEF 0003 created ....: 2017-11-20 00:00:03 General key info..: pub rsa4096/BEEFBEEFBEEF0001 2017-11-20 John Doe &lt;john@example.com&gt; sec&gt; rsa4096/BEEFBEEFBEEF0001 created: 2017-11-20 expires: never Cardnumber:BEEF BEEF9999 ssb&gt; rsa4096/BEEFBEEFBEEF0002 created: 2017-11-20 expires: never Cardnumber:BEEF BEEF9999 ssb&gt; rsa4096/BEEFBEEFBEEF0003 created: 2017-11-20 expires: never Cardnumber:BEEF BEEF9999 </code></pre> <p>Now the blackhole rises. As mentioned in the <a href="https://developers.yubico.com/PGP/SSH_authentication/Windows.html" rel="nofollow noreferrer">showcase documentation</a>, PuTTY should work <em>right out of the box</em>. Year right I thought but I gave it a try. Off course it will not work since the OpenSSH server does not know the public part of the authentication key. What a <em>surprise</em>.</p> <p>However I extracted the required OpenSSH compatible fingerprint to put in <code>.ssh/authorized_keys</code>:</p> <pre><code>gpg --export-ssh-key BEEFBEEFBEEFBEEFBEEFBEEFBEEFBEEFBEEF0003 </code></pre> <p>The result was an OpenSSH compatible fingerprint with the following comment: </p> <pre><code>ssh-rsa [...omitted...] openpgp:0xBEEF0003 </code></pre> <p>I reinserted the Yubikey, restart the gpg-agent and retry to login into my OpenSSH server. It also didn't work out.</p> <p>So I googled again and found another <a href="https://occamy.chemistry.jhu.edu/references/pubsoft/YubikeySSH/index.php" rel="nofollow noreferrer">tutorial to use Yubikey as SSH authentication</a>.</p> <p>I <a href="https://occamy.chemistry.jhu.edu/references/pubsoft/YubikeySSH/index.php" rel="nofollow noreferrer">setup the way McQueen Labs recommend</a> it but this also did not work out for me.</p> <p>There where not any prompt for the card pin or error messages besides <code>No supported authentication methods available (server sent: publickey)</code>.</p> <p>This makes me think that either this kind of SSH authentication is not done by publickey method (which I find less likely) or there is configuration missing.</p> <p>Which brings me to my question: <strong>How to setup PuTTY to use Yubikey OpenPGP authentication?</strong> And what do configure on the server side.</p> <p>Edit: The Yubikey OpenPGP interface works well with Git commits, etc.. But I am not able to use it for SSH authentication.</p> http://andreidionian.com/?id=q/1397970 0 Log into PE console krinal http://andreidionian.com/?id=users/989470 2019-01-24T16:03:58Z 2019-01-24T18:09:52Z <p>I am using a getting started guide with puppet enterprise for azure. I deployed a puppet virtual machine by following the steps in the guidelines. I am trying to connect ssh to PE virtual machine using putty. As soon as I enter command ssh @ I get this message in my bash:</p> <p><a href="https://i.stack.imgur.com/xQ3J7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xQ3J7.png" alt="Message in bash"></a></p> <p>After this I must be asked to provide my password when setting up PE VM. Then when I enter my hostname to putty configuration:</p> <p><a href="https://i.stack.imgur.com/7K4Cy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7K4Cy.png" alt="Screenshot"></a></p> <p>I get this network error.</p> <p><a href="https://i.stack.imgur.com/8qsjf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8qsjf.png" alt="Network error: connection timed out"></a></p> <blockquote> <p>Network error: Connection timed out</p> </blockquote> <p>and then I need to log into the PE Console. For that before creating puppet agent VM, I need the password that's generated when puppet master is provisioned.</p> <p>I am using my private microsoft azure account and connected to my office network. When I try to open the webpage with the domain name puppet123@cloudapp.net, I get this meassage:</p> <p><a href="https://i.stack.imgur.com/qYtNU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qYtNU.png" alt="Message"></a></p> <blockquote> <p>Gateway Timeout</p> <p>Server error - server 23.98.149.180 is unreachable at this moment.</p> <p>Please retry the request or contact your administrator.</p> </blockquote> <p>Please help me to find solution and let me know if any further questions.</p> http://andreidionian.com/?id=q/1397807 0 Can ping ubuntu server, but not connect with putty sumpen http://andreidionian.com/?id=users/989253 2019-01-24T07:53:07Z 2019-01-24T08:05:00Z <p>I'm just wondering if this is common. And if there is a way around this problem.</p> <p>I have a webserver at home running on ubuntu 16.04. I manage this through putty.</p> <p>My problem happened when I was managing my server via putty. My computer did a update/restart while I was eating. After this I cannot connect to the server via putty anymore. I can ping it. And the webserver is up and running.</p> <p>Maybe the session I had via putty before the computer shutdown didn't close the session correct. I'm just guessing now.</p> <p>Is there a workaround without fysically restart the webserver?</p> <p>Appreciate any ideas on this. Thanks.</p> http://andreidionian.com/?id=q/725410 0 Connecting a Cisco 3750E Switch using putty Rayne http://andreidionian.com/?id=users/33680 2014-03-06T10:44:43Z 2019-01-23T19:01:10Z <p>I'm trying to connect to a Cisco 3570E switch through the console using putty.</p> <p>I have the following configurations on putty:</p> <pre><code>Serial line: COM1 Speed: 9600 Data bits: 8 Stop bits: 1 Parity: None Flow Control: None </code></pre> <p>When I click "Open", I just see a black window with a green cursor. It doesn't react to any keys I press (including "Enter"), and there's no prompt. I've tried "XON/XOFF" for Flow Control, and it's the same.</p> <p>How can I connect to the switch?</p> http://andreidionian.com/?id=q/1397161 0 Starting docker kills ssh Michael W. http://andreidionian.com/?id=users/988534 2019-01-22T20:32:55Z 2019-01-22T20:32:55Z <p>I have an interesting issue on SLES12SP2 where I type service docker start and then I lose connection to ssh from putty... however I can ssh from Linux to Linux with no problems.... Why would docker kill / prevent me from ssh?</p> <p>The IP routes look good and my interface is still there... If I reboot the server ssh comes back but as soon as I start docker it kills it from putty and I have to use linux to linux.</p>  Microsoft office activator |  windows activation crack |  windows product key |  windows 10 product key |  windows 7 ultimate product key |  windows 7 keygen |  activate office 2010 |  office Project keys |  project professional product key |  office 365 office 2016 office 2013 key |  office 2016 office 2013 key |  windows 7 professional product key |  windows 8 professional product key |  windows 10 professional product key |  office 2016 professional product key |