Connection through of SSH or TELNET

Hello to all,
I want develop an application to connect with remote system through of SSH or TELNET.
I hope somebody can help me
thank to all

http://forum.java.sun.com/thread.jspa?messageID=3328644&#3328644

Similar Messages

  • Connection of SSH or TELNET

    Hello to all,
    I want develop an application to connect with remote system through of SSH or TELNET.
    I hope somebody can help me
    thank to all

    There is one, quick and easy way to do this. Download Ant from ant.apache.org. Then go to Sourceforge and download JSch. Ant uses JSch for SSH. You can view their code and implement your own SSH client via JSch. The whole process took me 20 minutes.
    - Saish

  • [Solved] Cannot start emacs through an ssh-forwarded x11 connection

    Hi,
    I recently installed Archlinux and am quite happy with it.  Thanks to everyone who has apparently worked hard to make it so nice. There is one error that baffles me, however. I'm used to being able to start Emacs as 'root' through an ssh-forwarded x11 connection, but for some reason this doesn't work on Archlinux:
    [simons@peti ~]$ ssh root@localhost
    Last login: Sun Dec 14 17:50:28 2008 from localhost
    [root@peti ~]# emacs
    The program 'emacs' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAccess (attempt to access private resource denied)'.
      (Details: serial 15 error_code 10 request_code 152 minor_code 4)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    Starting other applications this way does works -- it's only Emacs that aborts outright --, but I do get similar error messages, i.e. from qgit:
    X Error: BadAccess (attempt to access private resource denied) 10
      Extension:    152 (RANDR)
      Minor opcode: 4 (RRSelectInput)
      Resource id:  0x5c
    X Error: BadAccess (attempt to access private resource denied) 10
      Major opcode: 2 (X_ChangeWindowAttributes)
      Resource id:  0x5c
    I'm not exactly an X11 expert; I have no idea how to debug this error. The syslog doesn't say anything about an invalid resourcess access, neither does /var/log/Xorg.0.log. In ~/.xsession-errors I see the following error, but I don't know what it means:
    gnc.bin-Message: main: binreloc relocation support was disabled at configure time.
    Does anyone have an idea how to explain this phenomenon? Any suggestions would be appreciated.
    Take care,
    Peter
    Last edited by peti (2008-12-14 20:01:27)

    This is what I call an easy solution. Thanks for the tip, pointone. I wasn't aware of the difference between x11 forwarding and trusted x11 forwarding. My old installation didn't seem to make that distinction. Maybe that feature was added to SSH somewhat recently. Anyway, the point is that, now, Emacs starts up fine.
    Thanks,
    Peter

  • Log ssh and telnet connections

    Hi guys,
    if you want to log all ssh and telnet connections to your system, what entry do you put in /etc/syslog.conf file?
    Thank you

    Google is your friend:
    http://www.unix.com/solaris/128310-logging-incoming-connections-solaris-10-a.html

  • Using portal admin console through an ssh tunnel?

    I'm trying to login on the portal admin over an established ssh connection:
    - profile server listen on hostname.subdomain.domain, port 8080
    - an ssh tunnel (via portforwarding through a firewall) from client port
    10000 to profile server 8080
    - connect from webbrowser to http://localhost:10000/console
    that won't work: internal server errors. If i change my hosts file:
    localhost 127.0.0.1 hostname.subdomain.domain
    it works. But this is ugly and conflicts with DNS.
    So, how can i configure the profile server to accept connections over an ssh
    tunnel? Anyone any idea?
    regards, Jordi

    Hello,
    Does any one in BEA have an answer to this. I was stumped when asked by a client. Any response will be great.
    C

  • How to get to x6250 Remote console through a ssh tunnel?

    I am accessing webGUI of my x6250 blade console through a ssh tunnel, I can log into eLOM, but when I launch remote console, the java client starts, then a java IOException window comes up with message saying "Create connection failure".
    When I access eLOM directly from company network without ssh tunnel, all works fine, so it is not my local system's setup or JVM issue.
    I am forwarding following ports already: 80, 443, 5120, 5121, 5123, and 7578.
    I suspect I missed some more ports for remote console usage, but which one(s)?
    YZ

    [ports needed for lights out management.]
    a) There does not appear to be an official Sun source for the port data.
    b) ILOM, ELOM, [a-z]LOM each seem to require their own selection of ports.... Beware.

  • Connecting through Xmanager

    Unable to get the CDE when connecting through Xmanager from a windows PC. Error reported is XDCMP connection failed.
    Tried the following command but of no use
    $ xterm -ls -display $DISPLAY:0.0
    Telnet to Solaris 8 on E450 Server hangs automatically after a few minutes.

    Hi Aniruddh,
    Please try latest version of MRD MAC 8.0.15 and verify result.
    https://itunes.apple.com/in/app/microsoft-remote-desktop/id715768417?mt=12
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Problem with socket connection through Java Embedding...

    We are trying to create a simple socket connection to a socket server through BPEL PM using the Java Embedding component.
    BPEL Process : Client makes an asynchronous request. Passes an input variable. The input variable is sent to the Server Program through a socket connection through the Java embedding component.
    Server: We are running a simple Socket Server program from command prompt.
    The code below works fine as long as we do not try to receive a response from the server (Commented Code).
    If we uncomment the code and try to receive a response, it refuses to create an instance for the BPEL Process. And sometimes restarts the BPEL Server.
    Client Code:
    String msg="NONE";
    try{
    org.w3c.dom.Element input = (org.w3c.dom.Element) getVariableData("inputVariable","payload","/client:clientProcessRequest/client:input");
    msg = input.getNodeValue();
    Socket clientsoc=new Socket("ServerIP",1000);
    PrintWriter out1=new PrintWriter(clientsoc.getOutputStream());
    out1.write(msg);
    out1.flush();
    BufferedReader cin1=new BufferedReader(new InputStreamReader(clientsoc.getInputStream()));
    msg=cin1.readLine();
    setVariableData("outputVariable","payload","/client:result",new String(msg));
    clientsoc.close();
    catch(UnknownHostException e)
    System.err.println("Don't know about host: dev.");
    System.exit(1);
    catch (IOException e)
    System.err.println("Couldn't get I/O for "+ "the connection to: dev.");
    System.exit(1);
    }

    Repost

  • HT1430 I CANT GET my IPad to connect to my WiFi and now I can't get it to go back so I can connect through iTunes- any ideas??

    cannot get iPad to connect to WiFi because I can't find the password-and now i can't get the iPad to reset to be able to connect through iTunes--help

    cannot get iPad to connect to WiFi because I can't find the password-and now i can't get the iPad to reset to be able to connect through iTunes--help

  • Help I purchase an Ipad yesterday I amusing internet connection through a netgear wired to my home computor since yesterday I am unable to open my emails or access my bank account ps I am not technical I am with orange broad band and have followed their i

    Help I purchased an ipad yesterday I am using internet connection through a wired up netgear router through my pc.Since then I cannot open my hotmail emails or access my online banking on wired pc and the navigator on ipad not working.
    I would appreciate help I followed all directions that Orange provided with netgear router

    Something here may help
    http://www.apple.com/uk/support/ipad/contact/
    pick a subject from left hand panel
    and this
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf

  • HT2250 I have been able to get my MacBook Pro to print wirelessly through my Airport device. How do I make it so other computers (non-Mac) can also print wirelessly as well? They are able to connect through my wireless network but can't print.

    I have been able to get my MacBook Pro to print wirelessly through my Airport device. How do I make it so other computers (non-Mac) can also print wirelessly as well? They are able to connect through my wireless network but can't print.

    Well, you could install the drivers to the wireless printer in you other computers.
    blue apple > System Preferences... > sharing
    check printer sharing.

  • How can i airplay from my mac connected through ethernet to an aple tv 2 on wifi

    Hi everyone..
    im having troubles using Airplay on my mac.. i connect my mac to the internet and home network using an ethernet connection to my router (non apple branded router) .. my apple tv 2  is connected to my home wifi network from the same router.. when i first set up my apple tv.. i was able to see the Airplay icon on itunes and it would let me Airplay media from my mac to my apple tv.. however.. it disconnects after a little while.. same thing with viewing my itunes library from apple tv.. i was able to detect my shared library from the apple tv.. i was able to play some media but then it disconnected after some time.. but now.. the Airplay icon doesnt show up in itunes anymore.. and i cant see my shared library from my apple tv neither.. ive looked around for a solution and followed the tip to turn the ipv6 off.. it worked for some time but now the problem is back..
    i know the obvious solution is to connect my mac to the same wireless network as my apple tv.. but i would like to keep it connected through ethernet..
    Mac OS X Lion 10.7.4
    Apple TV 2 software version 4.4.4
    Thanks in advance

    thisguy. wrote:
    ......i know the obvious solution is to connect my mac to the same wireless network as my apple tv.. but i would like to keep it connected through ethernet.........
    I wouldn't say that was the obvious answer at all, my Mac is connected by ethernet and 6 of my 7 Apple TV's are connected by wifi, I haven't had any of your problems. The problem is most likely on your network.
    Intermittent problems
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.
    Consistent Problems
    A frequent cause of consistent failure to enable AirPlay or HomeSharing at all, is the service being blocked on the network. Make sure your network isn't hidden, has a unique name, that MAC address authentication is disabled, security is set to use WPA 2 Personal and that there is only one router/device acting as a DHCP server and providing NAT services.
    Make sure your router/computer allows access over the following ports
    Port
    Type
    Protocol
    Used By
    80
    TCP
    HTTP
    AirPlay
    443
    TCP
    HTTPS
    AirPlay
    554
    TCP/UDP
    RTSP
    AirPlay
    3689
    TCP
    DAAP
    iTunes/AirPlay
    5297
    TCP
    Bonjour
    5289
    TCP/UDP
    Bonjour
    5353
    TCP/UDP
    MDNS
    Bonjour/AirPlay
    49159
    UDP
    MDNS (Win)
    Bonjour/AirPlay
    49163
    UDP
    MDNS (Win)
    Bonjour/AirPlay
    Refer to your router manual/manufacturer for any settings that are specific to that model.
    Another frequent cause of consistent failure to enable AirPlay or HomeSharing at all, is security software, in many cases configuring it correctly, disabling it or even uninstalling it can help, but in some cases the security software can cause problems that simply reconfiguring, disabling or uninstalling cannot reverse.
    If you are consistently unable to activate AirPlay, have tried all the steps in this article and have security software installed on your system, you might benefit from contacting its provider or participating in any online forums they run to discuss the matter with them.

  • My IPOD and Macbook Pro both will not connect to the Itunes store through Itunes says no internet connection, but I can connect through safari and I have a internet connection

    My IPOD and Macbook Pro both will not connect to the Itunes store through Itunes says no internet connection, but I can connect through safari and I have a internet connection

    As I mentioned above, I am not very tech savvy so I have no idea why a wireless protocol would be showing up there, I'm just listing everything I see in hopes that someone might know something I can try. This is why I am asking for help here - I'm not sure what has happened that has made me unable to connect, especially since it seemingly occured while nobody was using the computer.
    I guess I should clarify that I'm not a total hillbilly- normally my firewall is set to 'on', but I set it to 'off' to try and troubleshoot the issues here as I was told that sometimes it can interfere with the computer's ability to connect to the internet. If this is not the case and firewall does not affect anything, I will turn it back on while I try to fix this.
    I have tried the method you mentioned above a few times - I actually contacted my ISP earlier this week and they recommended resetting the router like that. They didn't mention any known network issues.

  • I can print from my macbook pro using airport express usb connected printer, however my iPad is looking for an airprint printer.  Can I direct the iPad to the usb connected printer.  Both macbook and iPad confirm a wifi connection through the airport exp.

    I can print from my macbook pro using airport express usb connected printer, however my iPad and iphone are looking for an airprint printer.  Can I direct the iPad/iphone to the usb connected printer.  Macbook iphone and iPad confirm a wifi connection through the airport express.

    You will need to install an App like Print Central on the iPad to try to print to the printer. It will allow you to print to most printers. Check with their support folks if you need more info.
    PrintCentral for iPad on the iTunes App Store

  • How can I know which clients are connected to my network through express and which are connected through extreme?

    I have an airport express extending, through wireless, a network provided by an airport extreme. How can I know which clients are connected to my network through express and which are connected through extreme?
    Here you can see both routers:
    I would expect to some clients connected to the express, other than the extreme. And that's all I see: only the airport extreme appears as client of the airport express.
    Below, one can see the summary of the config for both routers.
    Would somebody explain it?
    Thanks,
    Marcelo
    Message was edited by: Marcelão

    please disregard this answer.
    Message was edited by: Marcelão

Maybe you are looking for

  • How to Submit a Service Request with Essential laptops

    [quote] Submit a Service Request Create a technical or warranty service request ticket and check its status using our online ticketing system. Note: i) Only applicable for THINK branded products ii) For IDEA branded products, kindly contact our suppo

  • Unable to select .xltx file in Business Process Flow

    Dear All, I have created all my Input schedule and Reports in .xltx file (ie. MS2007 formet) While defining action of the  Business Process Flow, I am selecting BPC for Excel and trying to browse file .xltx file (i.e MS 2007 formet), but by defult I

  • IPhoto "Show Aperture Library" misses some images

    I am running Aperture 2 and iPhoto 09. When I access the "Show Aperture Library" menu in iPhoto to import Aperture images it does not show images that were scanned in from my Canon MX860 scanner. They are in JPEG format. They show like any other imag

  • JSP and Access 2007 database

    i've been trying to look for codes on how to access the Access 2007 database (.accdb). i've done a previous JSP app with Access database, but it is of a lower version (.mdb). i need something like the following, but for the 2007 version. is it just a

  • Importing from iPhoto Library - referenced or managed?

    I'm moving my entire iPhoto library into Aperture. Is it better to reference them in place (i.e. keep the iPhoto library where it is) or import them as managed files? What are the pros and cons of each? Thanks for your help.