j2ssh-maverick | #Development Tools | open source branch of our legacy API providing

 by   sshtools Java Updated: 8 months ago - RELEASE_1.5.5a License: LGPL-3.0

Download this library from

Build Applications

kandi X-RAY | j2ssh-maverick REVIEW AND RATINGS

J2SSH Maverick is the successor to the original J2SSH API and includes a complete and stable implementation of an SSH2 client. Originally built from the ground up by the original author back in 2003, this product has, until now, only been available under a commercial license. With the development and pending release of a third generation SSH API, this legacy API has now been released under the LGPL v3 and will continue to be maintained by the core author as a contribution to the open source community.

kandi-support
Support

  • j2ssh-maverick has a low active ecosystem.
  • It has 55 star(s) with 29 fork(s).
  • It had no major release in the last 12 months.
  • On average issues are closed in 69 days.
  • It has a neutral sentiment in the developer community.

quality kandi
Quality

  • j2ssh-maverick has 0 bugs and 0 code smells.

security
Security

  • j2ssh-maverick has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • j2ssh-maverick code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.

license
License

  • j2ssh-maverick is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
  • Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

build
Reuse

  • j2ssh-maverick releases are available to install and integrate.
  • j2ssh-maverick has no build file. You will be need to create the build yourself to build the component from source.
  • j2ssh-maverick saves you 12583 person hours of effort in developing the same functionality from scratch.
  • It has 25345 lines of code, 2010 functions and 264 files with 0 % test coverage
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA

kandi has reviewed j2ssh-maverick and discovered the below as its top functions. This is intended to give you an instant insight into j2ssh-maverick implemented functionality, and help decide if they suit your requirements.

  • Exchange the key exchange .
  • Initializes the fields .
  • Performs an optimized read operation .
  • Performs client exchange .
  • Main method for testing
  • Process an SSH channel message .
  • Connects to a SOCKS5 proxy .
  • Copy a local directory to remote server .
  • Allow an X11 forwarding to a file .
  • Do the authentication .

j2ssh-maverick Key Features

The open source branch of our legacy API providing a robust, mission critical SSH component to the community.

j2ssh-maverick examples and code snippets

  • Maven Repository
  • Unrecognized character in the output stream while connecting network device using SSH

Maven Repository

<dependency>
   <groupId>com.sshtools</groupId>
   <artifactId>j2ssh-maverick</artifactId>
   <version>1.5.5</version>
</dependency>

Unrecognized character in the output stream while connecting network device using SSH

session.requestPseudoTerminal("dumb", 80, 25, 0, 0);

COMMUNITY DISCUSSIONS

Top Trending Discussions on j2ssh-maverick
  • Unrecognized character in the output stream while connecting network device using SSH
Top Trending Discussions on j2ssh-maverick

QUESTION

Unrecognized character in the output stream while connecting network device using SSH

Asked 2020-Aug-04 at 12:53

I got some unrecognised character in the output stream while connecting network device using SSH, But when I connect through putty, it shows a blank area instead of those unrecognised characters? Can someone help me with this? I am using "j2ssh-maverick1.5.2" library to connect the device through SSH.

Output stream output:

  HP J9eA 2522-24G Switch

Software revision YA.15.13.0005



Copyright (C) 1991-2014 Hewlett-Packard Development Company, L.P.

                 RESTRICTED RIGHTS LEGEND
 Confidential computer software.  Valid license from HP required for possession,
 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
 Software, Computer Software Documentation, and Technical Data for Commercial
 Items are licensed to the U.S. Government under vendor's standard commercial
 license.
                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. 
                   20555 State Highway 249, Houston, TX 77070

[1;15r[1;1H[44;1HPress any key to continue[15;1H[?25h[300;27H[?6l[1;300r[?7l[2J[1;1H[1920;1920H[6n[1;1HYour previous successful login (as manager) was on 1990-01-26 15:59:52     
 from 10.30.222.231
[1;44r[300;1H[44;1H[2K[300;1H[?25h[300;1H[44;1HHP-2522-24G# [300;1H[44;14H[300;1H[?25h[300;14H

Putty output

Copyright (C) 1991-2014 Hewlett-Packard Development Company, L.P.

                   RESTRICTED RIGHTS LEGEND
 Confidential computer software.  Valid license from HP required for possession,
 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
 Software, Computer Software Documentation, and Technical Data for Commercial
 Items are licensed to the U.S. Government under vendor's standard commercial
 license.
                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
                   20555 State Highway 249, Houston, TX 77070

Press any key to continue
Your previous successful login (as manager) was on 1990-01-26 15:14:36
 from 10.30.222.231






HP-2522-24G#

ANSWER

Answered 2020-Aug-04 at 12:53

These are character control sequences from a terminal.

When you created your SshSession, you likely requested a pseudo-terminal using the requestPseudoTerminal API call.

If you don't need to hook the output of the session up to a terminal emulator, then the best course of action is to use a dumb terminal.

session.requestPseudoTerminal("dumb", 80, 25, 0, 0);

If that does not work you will have to omit the pseudo-terminal request altogether.

Source https://stackoverflow.com/questions/63246457

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

VULNERABILITIES

No vulnerabilities reported

INSTALL j2ssh-maverick

You can use j2ssh-maverick like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the j2ssh-maverick component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

SUPPORT

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

Implement j2ssh-maverick faster with kandi.

  • Use the support, quality, security, license, reuse scores and reviewed functions to confirm the fit for your project.
  • Use the, Q & A, Installation and Support guides to implement faster.

Discover Millions of Libraries and
Pre-built Use Cases on kandi