Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: how to create ssh server

  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default how to create ssh server

    hi i was wondering if anyone could point me in the right direction of how to create a ssh server for my tomcat im a noob to this and am finding it hard to come by information which normally means im missing something big however what im basically trying to do is upload files via ssh to my server i can create a client but creating the server web app has me stumped any help would be great thanks


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 688 Times in 675 Posts

    Default Re: how to create ssh server

    Post what you've tried. Describe what problems you're having, errors received, bad behaviors observed. Helping you has to have someplace to start, and you haven't given us anything to work with.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 827 Times in 770 Posts
    Blog Entries
    5

    Default Re: how to create ssh server

    I don't really even understand the question. SSH server is typically installed at a OS level - on something like linux it should be installed by default.

  4. #4
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default Re: how to create ssh server

    ok sorry like i said noob im at the beginning here basically i have built a client for my android and can scp files to my debian openssh im looking to send these files to another android running tomcat server but building the server is where im at a dead end. thanks for replys

    --- Update ---

    Quote Originally Posted by copeg View Post
    I don't really even understand the question. SSH server is typically installed at a OS level - on something like linux it should be installed by default.
    thanks like i said i must be missing something big

  5. #5
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default Re: how to create ssh server

    k in case its of use to others
    ssh is the command you use to connect to remote machines - the client.
    sshd is the daemon that is running and allows others to connect to the machine - the server.
    the java implementation of sshd is apache mina and can be found here
    https://mina.apache.org/mina-project/

  6. The Following User Says Thank You to bean For This Useful Post:

    copeg (September 12th, 2014)

  7. #6

    Default Re: how to create ssh server

    There are many ways to remote in to a machine—some of them are secure, some of them are not. For the old school administrators, you can't beat secure shell for security. Unfortunately, the Windows platform doesn't include either a secure shell client or server. In order to connect to a machine via SSH (default port 22), the secure shell daemon must be present on the machine in question.

Similar Threads

  1. Need solution how to create jasper server in windows 8 os
    By thota pallavi in forum Java Theory & Questions
    Replies: 0
    Last Post: July 10th, 2013, 12:35 PM
  2. SSH session with server
    By Paris in forum Java Networking
    Replies: 11
    Last Post: January 21st, 2013, 06:35 AM
  3. How to connect and fire command to SSH server using Gyanmed SSH2 API.
    By Shanul in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 4th, 2012, 08:57 AM
  4. How to Create a server socket to listen for incoming connections?
    By JavaPF in forum Java Networking Tutorials
    Replies: 3
    Last Post: October 28th, 2011, 10:02 AM
  5. create some fake users on server
    By nakres in forum Paid Java Projects
    Replies: 1
    Last Post: March 25th, 2011, 11:37 AM