SSH / Telnet Software

Telnet is an application layer protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. SSH was designed as a replacement for Telnet and for unsecured remote shell protocols. The term telnet is also used to refer to the software that implements the client part of the protocol. SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello Experts,

I have number of HP blade enclosures to pull data from.  I've written a Python script to SSH to the enclosures and retrieve the data.   The script works but takes about 3 hours to complete.   Although the bulk of the code in the script parses the data, the bulk of the time involved is in setting the SSH session to each server.   Thus what I'd like to do is establish a means to run the processes in parallel.    I'm hoping someone can give me pointers in the right direction.

What I've Tried


1. My first stab at this with with the Parallel-SSH module (https://pypi.python.org/pypi/parallel-ssh).   That would have been the cleanest solution.   However, although I was able to connect to my enclosures, I was unable to retrieve output from any of my commands.  
2.  My current work around is to use Python's Multiprocessing module and specifically a pool as that seemed to be the simplest solution.   However, that's not working.   From the output the use of pool.imap results in mangled IP addresses.  Consider the following:

('OA IP is: ', u'1')
Now Processing OA 1.
Cannot connect to OA: 1.
[Errno None] Unable to connect to port 22 on 0.0.0.1

Here are some code snippets
def automatic_mode():
    enclosure_results_lst = []
    try:
        enclosures_lst = get_chassis_data() 
        # Function pulls IP addresses from another systm
        # Function return a Python list.  Example below
        # enclosures_lst = ['10.0.0.1', '10.0.0.1', 

Open in new window

0
Free Tool: IP Lookup
LVL 9
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hi expert

I had encountered the followng error "showing too many parameters for command synchronize".

i have the attach the script files  for reference example

option batch abort
option confirm off
open sftp://test1:test@200.1.1.1 -hostkey="ssh-rsa 1024 e4:dd:11:2e:82:34:ab:62:59:1c:c8:62:1d:4b:11:11"
synchronize local E:\SIN\Marketing\Daily Reports  /Reports

please note I have attached the errors message for your reference.
0
Hello,
I have powershell code for winscp that uploads files from a local directory using a filter on files in the directory to a remote server.  I need code to determine if files are in use before they are uploaded. If a particular files is in use, I would like the code to skip the upload of that particular file and continue with the upload of the files not in use.  The code needs to accommodate applications that might be using the file that do not support file handles and any process that might have a lock on the file.

Any help would be greatly appreciated.

Thank you
Diammond
0
Dear All

           I have a CentOS 7 suddenly can not ssh to it, below is the error, any idea what happen ?

ssh
0
I am configuring OpenSSH on windows, when I sftp a number of files through winscp the following error is logged and the transfer fails.

Fault bucket 120742644444, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: sshd.exe
P2: 0.0.12.0
P3: 58f3d47d
P4: StackHash_c1e2
P5: 10.0.14393.0
P6: 578997b2
P7: c0000374
P8: PCH_BC_FROM_ntdll+0x00000000000A59A4
P9:
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_sshd.exe_22ea82deddc0bc295fdb7f2a9ebb7d12a9daedd_01be728d_1f386bfb

Analysis symbol:
Rechecking for solution: 0
Report Id: df3f0593-ed53-412b-8d6f-bc3fd55c42df
Report Status: 0
Hashed bucket: 7e077c76baf60d7e7a72f62d6b43bfe1

I have tried to disable the Microsoft DEP but I am still stuck with this error.
0
Able to take telnet of the server and unable to take ssh.
0
Hi,

  I am having a problem with an SSH connection.    I have a user program connecting to a device like below

    USRPRGM  SSHMODULE  ------->   SSHD    SERVER     TELNET  ----->    DEVICE
              Windows 7 PC                                SOLARIS Unix server                   Proprietary Device


      So the user program opens an SSH Shell using an SSH Module to the solaris sshd server and logs in.
      At the shell prompt the user program issues a TELNET command to make a connection to the DEVICE.
     This ends up as a tunnel between USRPRGM and DEVICE.

     "SO why not use SSH Tunneling to create the tunnel?   My customer who owns the Solaris Server will
not allow TCP Port forwarding with SSH."

      As part of the protocol, the user program sends  $  ACK $ to the device.
A log of the user program shows that the user program received back   $ ^ F $.  (THE ACK CHARACTER IN HAT NOTATION)
I was also able to work with the customer and perform a SNOOP on the telnet side.
Surprisingly, the $ ACK $ was never sent out the telnet port to the device!!!!!!!

   Ok so after doing some reading, I see that a unix style SHELL does/can interpret
many characters as meta-characters.   For example * [ ] ^ and of course $ to name a few.
So I tried issuing the command stty raw,    then wait for the prompt,   then issue the telnet
command.    This test failed, the telnet application on the server never started.    My
user program log shows,  the telnet …
0
Hi all,

I have installed Tectia client on two client machines installed with Windows 2008 R2. Tectia client comes with an executable scpg3.exe to copy file to a remote host securely.

I am using the public key method for authentication. I notice that on machine A the file copy to a remote host server with SFTP server installed takes around 3 seconds to complete

ON another machine B, I have tried that the file copy to the same remote host server (using the same file) takes a much longer time to complete (~10 seconds). It seems that the authentication takes around ~8 seconds from machine B.

Please advise the possible causes. Thanks.

I
0
Hi.
What AWS values do I need in order to use SSH on an AWS Beanstalk EC2 instance?

And how are these values used in an SFTP/SSH client on Windows 7?
0
I am trying to run a mulesoft application that ftps a file to a host using jsch. We have an identity file in the windows server where I am running the application.
 
                        JSch jsch = new JSch()
                  jsch.addIdentity(identityFile)
                  jsch.setKnownHosts(knownHostsFile)
                  session = jsch.getSession(user, host ,port)
                  Properties config = new Properties()
                  config.put(STRICT_HOSTKEY_CHECKIN_KEY, STRICT_HOSTKEY_CHECKIN_VALUE)
                  session.setConfig(config)
                  session.connect()

However, when the code hits session.connect(), I am prompted for Kerberos username [xxxxx]: in the anypoint studio console. And the username xxxxx prompted is the username used to login to the windows server that wuns the application. The user in  jsch.getSession(user, host ,port) is a windows service name and is different from the xxxxx.

This code works fine in the mulesoft server where it is deployed. We are trying to get a development environment ready.
0
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

We have an FTP server but are now being asked for a SFTP setup.  We've locked down our FTP server so the vendor or whoever needs to access it can only access that server and nothing else on our network but I'm assuming that when data is transferred, it transfers in plain text.
This may be a stupid part to this question == if someone is transferring data using something like FileZilla and the FTP server isn't a SFTP server, can they still choose to use port 22 (the SSH port?
If not, can someone point me to some documentation on how to set up SFTP on our FTP server?
0
Hi all...

Need to integrate with Ubuntu and other Linux systems. Basically, I would like to pass AD credentials on the network to a Linux system integration. I hope my question makes sense and looking forward to any ideas out there.

Thanks
0
how to download Recording files from UCCX10 using SFTP step by step?
0
Greeting Experts,

This question is a bit open ended, but what do you all think of TeamVeiwer usage and security concerns?  Also, if you feel it is an unsecure solution, what do you feel is the best secure alternative?  Cost is not a factor.
0
I know I can see the telnet commands that correspond to the gui in asdm but I can't figure out how. Can someone tell help me?
0
Hi,

I have a Cisco 1921 Router that I'm trying to shutdown SSH On the WAN Interface on.  I still want to get to the LAN side interface with SSH.  I've created an ACL for it, but not sure if it's correct, and would appreciate some help on whether I've configured the ACL correctly, and a correction if I have it wrong

Thanks in Advance on this.  Here's what I have:

ip access-list extended BLOCK_SSH
deny tcp any any eq 22
permit any any

interface gig 0/0
ip access-group BLOCK_SSH in
exit

Chuck
0
Hello!

We have several Sonicwall firewalls installed at various client sites. We are moving from one smarthost provider to another, and we would like to continue to limit inbound email traffic to specific IP addresses, subnets, etc. with the new provider. Since there are numerous entries we need to make on each Sonicwall, is it possible to create a script to push them to an individual firewall all at once? We usually use the GUI, and just recently realized the CLI is available via SSH. Based on a lack of SSH CLI scripting experience, much like the GUI, we can apply settings individually, which doesn't save any time and actually takes us longer than doing it via the GUI. We would appreciate some feedback on if it is possible to script these settings, or if we just need to apply the settings one by one on each Sonicwall. And if it's possible, we're going to need some step-by-step guidance on scripting via SSH.

Thanks!

Jeff
0
I tried to copy a folder from one instance to another instance on AWS, but got the following prompt.


root@monitor:/data/lib$ scp -r jenkins root@10.104.0.185:/data/lib
The authenticity of host '10.104.0.185 (10.104.0.185)' can't be established.
ECDSA key fingerprint is b8:f1:24:56:6d:50:20:af:89:d3:af:a1:a1:a8:d2:4f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.104.0.185' (ECDSA) to the list of known hosts.
Permission denied (publickey).
lost connection
root@monitor:/data/lib$



I think it's because of public key. The destination server is a brand new server without running ssh-keygen command. What shoud I do to make the scp happen?

thanks.
0
Hello. I am trying to access Elastic Search Server on AWS.
1. What would the ssh be to access the Elastic Search Server?
2. Once I am able to access it where would I place a python script in order to feed data into the Elasticsearch server?

I tried

PS C:\Users\hpBill> ssh root@search-wbcelastic-*******.us-east-1.es.amazonaws.com/
but just get this:

ssh.exe": search-wbcelastic-**********.us-east-1.es.amazonaws.com/: no address associated with name
I have this information
Domain status
Active
Endpoint
search-wbcelastic-*********.us-east-1.es.amazonaws.com
Domain ARN
arn:aws:es:us-e******1:domain/wbcelastic
Kibana
search-wbcelastic-********.us-east-1.es.amazonaws.com/_plugin/kibana/
0
Free Tool: Subnet Calculator
LVL 9
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Hello all,
I need to configure on putty/puttytray, in windows a double hop with a dynamic port.
how can I do that?
thank you very much
best regards
Nick
0
I am running Docker 1.11.1 in the cloud (using digital ocean). I access it through SSH but I am not familiar particularly with Linux and so I was wondering if I can access it through a desktop interface instead of the command line.
I want to run some python scripts inside it. Anyone have any suggestions? I tried to install Teamviewer but it seemed not to work.


root@docker-test:~# ls
teamviewer_i  teamviewer_linux.deb  teamviewer_linux_x64.deb


root@docker-test:~# sudo dpkg -i teamviewer_i386.deb
Selecting previously unselected package teamviewer.
(Reading database ... 87950 files and directories currently installed.)
Preparing to unpack teamviewer_i386.deb ...
Unpacking teamviewer (11.0.57095) ...
dpkg: dependency problems prevent configuration of teamviewer:
 teamviewer depends on libc6 (>= 2.4).
 teamviewer depends on libgcc1.
 teamviewer depends on libasound2.
 teamviewer depends on libdbus-1-3.
 teamviewer depends on libexpat1.
 teamviewer depends on libfontconfig1.
 teamviewer depends on libfreetype6.
 teamviewer depends on libjpeg62.
 teamviewer depends on libpng12-0.
 teamviewer depends on libsm6.
 teamviewer depends on libxdamage1.
 teamviewer depends on libxext6.
 teamviewer depends on libxfixes3.
 teamviewer depends on libxinerama1.
 teamviewer depends on libxrandr2.
 teamviewer depends on libxrender1.
 teamviewer depends on libxtst6.
 teamviewer depends on zlib1g.

dpkg: error processing package teamviewer (--install):
 dependency problems - 

Open in new window

0
Hello,

Please, when I login to Linux server I did not get my usaer@server. instead, I only got   >.  I mean I should get [user@host]:~> but I only get >. and I can not use command computeuse. it returns an error. also, after that, I try to connect from that machine using ssh user@host. it connecting but I got after name $ sign and I can not run any application. I mean I got [user@host~]:$

any help

Thanks
0
Hi, I have a user with a public key and I need to install it on a new linux debian server.

How do I do this.

I need to basically add his key to a user called appserve
0
So I was trying to enable snmpv3 and managed to lock myself out of web and ssh access. Clearly I've broken something but I am hoping someone out there maybe able to assist in resolving the issue..

I've tried connecting via serial - it connects but no menu, nmap tells me 22 and 443 are still open..

Any help muchly appreciated..

Thanks
0
Hi
I would like to transfer files from/to a secure network zone to/from an office network zone.  The file transfer shall be encrypted and shall be performed either at a fixed schedule or in real-time. In my office network I have several windows fileservers and NAS boxes. I would like to have gateway server in my office network so that only need to open a minimum set of ports through my firewall between the secure zone and office zone.  
Does anyone know if a SFTP server can be utilized as a gateway server as described above?  Can I map a DFS structure through a SFTP server so that I can specify ex.  <sftp server> <DFS path\windows share>  as destination/source of my data transfers?

Does anyone know/have experience of any software (enterprise level) that can be utilized for a scenario as described above? I would be grateful for any suggestions.
0

SSH / Telnet Software

Telnet is an application layer protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. SSH was designed as a replacement for Telnet and for unsecured remote shell protocols. The term telnet is also used to refer to the software that implements the client part of the protocol. SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server.

Top Experts In
SSH / Telnet Software