How to logout remote server via SSH

I have a server running flux, I just want to log it out (it auto-logs back in, no GDM screen). How do I do this if I'm connected to it via SSH? Again, I want to log out the server as though I would do ctrl+alt+backspace locally, but through SSH.
TIA

I just realised how you start your session by auto login, so my above answer was pretty useless. The way I manage my server with an occasional gui session is to just use gdm and start/stop the daemon as needed via ssh then switch to a vnc  or xdmcp session.

Similar Messages

  • Access directory in remote server via SAP GUI

    Dear experts:
    My servers are with windows server 2003 OS, I want to access directories in a remote server via SAP GUI(in tcode AL11).
    I have shared the directory in the remote server, and grant full control authrization to everyone. Then I map a driver to the shared diretory on SAP server,and I can open the diretory successfully. But when I add this diretory to SAP-directories(through tcode AL11), I can't open it in SAP GUI, when I doudle click on this directory, the error message occurs on the status bar:"Wrong order of calls <- CALL opendir: Not a directory(,,..)"
    How can I fix this problem? Thanks!

    > I have shared the directory in the remote server, and grant full control authrization to everyone. Then I map a driver to the shared diretory on SAP server,and I can open the diretory successfully.
    Please note:
    Driver letters are user dependent. So if you map the drive as administrator or <sid>adm it's not available for user SAPService<SID> (the user running the SAP system).
    So the best thing to access directory is using UNC names like
    \\<servername>\<share>
    not drive letters.
    Markus

  • How to access web server with SSH client

    I need to access my web server via SSH. I do not have clue how to go about. I have transmit for ftp but looks like I cannot use SSH with Tranmit.
    I guess I need to know:
    - What ssh client to I need to get?
    - If not detailed instruction provided How do I go about? I know I need the port # and my ip address and I have both of those but not sure what else I am to do.
    TIA for the help!

    Open up Terminal. It's in the Utilities folder.ssh -p <port#> <ipaddress> or, if you need to log on with a different user namessh -p <port#> <username>@<ipaddress>

  • Can no longer connect to remote server via VPN

    I recently installed OS 10.5.8, and have found that I can no longer connect to my server at work. The VPN itself (via PPTP) works fine, it's just that when I try to connect to the remote server (via Connect to Server) I get a dialogue saying 'A volume failed to mount.' A further dialogue says 'Sorry, the operation could not be completed because an unexpected error occurred. (Error code -6602)'
    Has anyone found a way around this, please? I'm disabled and I need to be able to work from home – without the connection I'm stuffed! Obviously I've tried rebooting the machine etc, but nothing seems to help.
    Thank you for any assistance you can give.
    Kitty.

    For some random reason this connection has begun working again – please ignore the question!

  • How 2 pass a request from a broswer to remote server via a proxy server

    hi my program is on a proxy server it will be lisenting in port 9876
    i have configured in a way that all browsers request pass thro this proxy server
    so when user request for www.yahoo.com in the browser the
    resquest is passed 2 this proxy server. so i got the host name and created a socket.
    i read all the request that has come from the browser such as "GET www.yahoo.com HTTP/1.1 ,,"
    I got the outputstream for the remote socket and i passed all these request to the remote host.. but i could nt get any response frm server can any one help me out?
    ===
    import java.io.*;
    import java.net.*;
    class Proxyserver
    ServerSocket ser;
    Socket myclient;
    BufferedReader br;
    String cf1="\r\n",cf2="\r\n\n",lf="\n";
    OutputStream o_remote;
    public Proxyserver()
    try
    ser=new ServerSocket(9876);
    myclient=ser.accept();
    // read inital requst from browser
    br=new BufferedReader(new InputStreamReader(myclient.getInputStream()));
    String req=br.readLine();
    String temp=req;
    int val=temp.indexOf((int)'/',11);
    String host=req.substring(11,val);
    //connect 2 host
    Socket remote=new Socket(host,80);
    System.out.println(remote.toString());
    o_remote=remote.getOutputStream();
    while(req!=null)
    System.out.println(req);
    o_remote.write(req.getBytes(),0, req.length());
    o_remote.write(cf2.getBytes());
    o_remote.flush();
    req=br.readLine();
    o_remote.write(lf.getBytes());
    o_remote.write(lf.getBytes());
    o_remote.flush();
    // wait for response from remote server
    InputStream in=remote.getInputStream();
    int response=in.read();
    while(response!=-1)
    System.out.println((char)response);
    response=in.read();
    //close all sockets
    remote.close();
    myclient.close();
    ser.close();
    }catch(Exception e){}
    public static void main(String a[])
    new Proxyserver();
    ===
    op i got all the req from the broswer and wrote 2 op stream of remote server but i could nt get the response
    ==
    output"
    Socket[addr=javaworld.com/130.94.4.230,port=80,localport=3225]
    GET http://javaworld.com/ HTTP/1.0
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
    Host: javaworld.com
    Proxy-Connection: Keep-Alive

    Hi
    Just look for JspSmartUpload classes ..
    this will help u
    U can use
    <input type=file name=f >
    thanks
    regds

  • Remote login via ssh and public keys

    I'm not exactly a UNIX expert, but I need to be able to remote login to my PowerBook. The problem with enabling ssh is that as soon as I'm on campus, all kinds of nefarious hosts try brute force attempts to crack my password. I've heard that public/private key logins are the answer, and I've managed to get the public key in the right place on my PowerBook (the private key resides on my iPhone, from which I'll be logging in). But I have two questions:
    1) How do I disable logins via user/password?
    2) When I use my private key, I'm asked to enter the password for the key -- ssh isn't properly storing that password. I've checked permissions, but how can I get ssh to store that password, as it should?

    1) In Sharing > Remote Login, do I still need an account listed to be able to use ssh logins with a public key? I ask because currently (i.e. password authentication enabled), when no accounts are listed, login via public key doesn't work. In other words, an account has to be listed for public key logins to work.
    Yes you still need an account name to login to that computer. However you don't need to specify an account in the sharing preferences. You can lock down the security further by limiting which user accounts can login via ssh.
    by default if you don't specify a username when you login it will use the username of the device your logging in from. So to use an alternative login name you would use
    ssh [email protected]
    whereas john can be anyname or your choosing.
    Put another way: if turn off password authentication for ssh in sshd_config, how should Sharing > Remote Login be configured?
    If you turn off password authentication you still need to allow your user account to login via ssh in the sharing preferences or you can allow all.
    2) According to that MacOS X Hints article:
    "Leopard has now a built-in support for SSH authentication with public keys.
    OSX has been able to use ssh public key authentication since day 1 of the beta release of osx. It is not new to leopared it has been around for years.
    Just open Terminal and ssh to your public-key-enabled server. A Keychain window appears, proposing you to enter the pass phrase, and then remembering it in your keychain. "
    I have not used this functionality as I don't use any passwords for ssh logins.
    They're talking about the password associated with the key. But on second thought, that password is being saved on the client, not the server, right?
    I am sure this is the case.

  • Compile and debug to a remote server with ssh access

    How can i compile and debug from my Mac to a remote server that has ssh access only?

    Besides Microsof's Remote Desktop Connection
    <http://www.microsoft.com/mac/products/remote-desktop/default.mspx>
    Applications -> Remote Desktop Connection
    Computer:  windows.pc.address
    -OR-
    Computer:  windows.pc.address/console
    There is also CoRD (Microsoft RDC Screen Sharing)
    <http://www.macupdate.com/info.php/id/22770/cord>

  • FMS 3.5 - How to use remoting Server Side

    I am very interested in using Remoting in order to connect to a Drupal AMFPHP service module.  On the client side this is easily done and I have had limited success on the Server side, but a good guide on how to do this properly and be able to get the data being returned would be great.
    Thanks,
    Chris
    ChrisMcIntoshDesigns.com

    I don't know if Drupal's AMFPHP implementation is any different than a straight install of AMFPHP, but this article should help to get you started:
    http://www.sephiroth.it/tutorials/flashPHP/flashcomm_AMFPHP/index.php

  • I can not start a remote server via Node Manager

     

    There is a workaround to this problem. The issue seems to be
    that when the node manager tries to start the managed server
    it can not find java.exe in the system path. So please go to
    Control Panel->System->...->Environment, and modify your PATH
    system environment variable to include the java bin directory
    in it.
    Then try using the node manager again to start the managed
    servers and you should have no problems.
    We are aware of the issue and working on having a fix for it.
    Savvas
    "Rakesh Chauhan" <[email protected]> wrote:
    >
    Hey Guys!
    I am using WLS6.1 on WIN2000 boxes. And I am getting the same error on
    the Admin
    console when I try to start any of the two
    managed servers.
    <Sep 25,2001 1:39:12 PM EDT> <Info> <[email protected]:7002><WindowsProcessControl:
    online successfully invoked on server 'server90', pid: 0> The interesting thing is that when I start managed server of its own,
    it is started
    successfully and you can Stop the managed
    server from the Admin Console.
    Really frusted, I hope I have configured everything correctly. Can somebody
    help
    me out ?
    Thanks Rakesh
    "Martin Matthews" <[email protected]> wrote:
    This message is simply a message from the Admin Server saying that it
    has asked
    NodeManager on the remote machine to start a certain server.
    To see the logs for server startup then you can find these either on
    the Admin
    machine at WL_HOME/config/NodeManagerClientLogs/<ManagedServerName>/*.log
    or on the remote machine at
    WL_HOME/config/NodeManagerLogs/<ManagedServerName>/*.log
    Cheers
    Martin
    "Paul Nixon" <[email protected]> wrote:
    I also would like to know the answer to the question below from Vincent.
    I am getting
    this message in the Admin console from either of my two managed servers
    whenever
    the console has successfully contacted the Node Manager in managed
    server
    host.
    The Node Manager logs themselves also report "online successful". What
    doesn't
    seem to happen is WebLogic startup and I haven't found any error log
    that explains
    why.
    I have set the Remote Startup parameters correctly [I think] for both
    managed
    servers so cannot see what further is required.
    Any input appreciated.
    Paul.
    "Vincent Ducret" <[email protected]> wrote:
    Hi everybody,
    When I try to start a remote WLS 6.1 server from my computer, I receive
    the message
    below in my WLS administration console. The Node manager is runningon
    the remote
    machine and correctly configured, I hope!
    What does this message mean ???
    Thanks for your help
    Vincent
    <21 août 01 10:19:17 CEST> <Info> <[email protected]:5555>
    <WindowsProcessControl:
    online successfully invoked on server 'testserver', pid: 0>

  • How exactly does "remote wipe" via Mobile Me work?

    In a moment of curiosity I decided to enjoy the new features of Mobile Me for the iPhone's 3.0 software. I tried the locate phone function, worked great. I then decided to try the remote wipe functionality of the website. I had the phone right in front of me, so I figured I'd see how it worked.
    I initiated the process (with my phone sitting on my desk in front of me) and the phone within an instance turned off and went to the Apple logo. It stayed on the Apple logo for a few seconds and then turned off. At which point I received an email stating that the remote wipe process had been initiated at 4:23pm (PST) yesterday.
    Unsure how long the process took I let the phone sit for 4 hours. I went to turn it on, same thing: Apple logo for 10 seconds and the phone turned off. I figured it was low on battery (despite having a full charge prior to the remote wipe) so I docked it while plugged into my machine. (Apple logo for 10 seconds and the phone turned off)
    Fast forward to 10:23am PST this morning (18 hours later) and I'm still dealing with the same thing.
    Anyone else try the remote wipe feature? Have any success? I'm inclined to believe that the phone isn't going to wake up at this point. But I was curious if anyone else shared in my curiosity.

    Use these instructions and you're phone will be back in service asap:
    1. Wake your iphone up so you see the apple logo
    2. Hold down the power button (the one on top) and the home button until the screen goes black.
    3. This turns the phone off, don't keep holding the button or the phone will restart
    4. Now that the phone is off, press and hold the home button
    5. While holding the home button connect your phone back to your computer, continue to hold the home button until itunes says it has found a phone that needs to be restored.
    6. restore phone
    Basically your just turning the phone off and putting it in force recovery mode

  • Set default gateway on headless server (via ssh)

    I'm trying to configure one of the two ethernet interfaces on a headless Xserve. I managed to give it an address and subnet mask with ifconfig, but I can't figure out how to give it a default gateway or dns server.
    I tried using this:
    sudo route add default gw xxx.xxx.xxx.xxx en0
    but I got the error 'route: bad address: gw'
    is there something wrong with my syntax, or does this just not work on OS X?

    Something's wrong with your syntax
    Try:
    <pre class=command>sudo route add default a.b.c.d</pre>
    The keyword 'gw' is not needed, and you also don't need to specify an interface since the OS should be able to work it out from the IP address(es) assigned to your interface(s).

  • Is it possible to run a remote app via ssh?

    If I ssh from my Macbook Pro to my iMac, I can run the xclock command like this:
    ssh -X imac
    /usr/X11/bin/xclock
    Is it possible to do something similar with a .app application?  If I ssh in and use the "open" command to open the calculator, it opens on the Mac, but I can't see it from my Macbook:
    open -a Calculator.app

    The closest thing to that is Screen Sharing.

  • How to check remote server(client server) name in RFC

    Hi, gurus..
    Is there a way to get a name of client server in RFC.
    There is an RFC 'ZTEST' at System B.
    'ZTEST' could be called by any system.
    So, I want to check the authority by calling system's name.
    System A is allowed to call System B, but System C can not.
    Please help me.

    The destination "BACK" can be used to refer back to the caller.
    So you can do something like
      CALL FUNCTION 'RFC_SYSTEM_INFO'
        DESTINATION 'BACK'
        IMPORTING
          rfcsi_export      = rfcsi_export
          current_resources = current_resources
          maximal_resources = maximal_resources
          recommended_delay = recommended_delay.
    ..to get the system information of the caller.
    Cheers
    Graham Robbo

  • How do I send HTTP request to a server via a proxy server in JDK 1.4?

    JDK 1.5 's URL class provides an overloaded version of openConnection() which accepts an object of type Proxy using which we can establish connection with a remote server via a proxy server, but JDK 1.4 doesn't provide any such overloaded version. How do I do that in JDK 1.4? Even if I had a class that can create HTTP packets for me, then I could have established Socket connection with the proxy server and sent the HTTP packet to it. Is there a way to do that also?

    There are some system properties, which can be set with System.setProperty [http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html]

  • How to Install AIR on Linux via SSH

    How can I install AIR on a linux server via SSH?
    llama

    Hi llama,
    As installing AIR requires a running xserver on linux. So you can install using ssh by providing -Y parameter.
    so connect to your server in the way, e.g: ssh -Y user@server and then perform the installation.
    Regards
    Syed

Maybe you are looking for

  • Can you please reset the "This Device Is Already Associated With an Apple ID"

    So, i had an ipod touch 4th generation 64gb and have bought any movies and music. I got an ipod touch 5th gen 64gb for christmas and backed up all my stuff from previous ipod (4th) to it. My plan was to Use the 5th gen for games an photos ans social

  • Applescript to add numbers to end of folders names

    Hello, I wrote a script that can rename files and add sequential numbers to them (below): set theResult to display dialog "Please enter a name and a number separated by a space." default answer "enter image name here + space + 1" buttons {"Cancel", "

  • Bridge CC scrolling - Jumps. Not smooth.

    Scrolling in all windows (folders, metadata, filter...ect) but the Content window results in jumping rather than a smooth scroll. Latest update didn't fix this so I am still forced to use CS6 OSX 10.9.4 Magic Mouse anyone else have this problem? anyo

  • Premier elements 10 hangs when loading on importingquicktime.prm

    I am unable to use Premier elements 10 because it hangs while loading "importingquicktime.prm". It then goes back to the opening menu. Organizer works fine as does Photoshop, which was bought as a complete pack. I have the latest version of quicktime

  • 24" LED display with MacBook Pro & DVI output

    Simple question. Just bought the 24" LED display. then learned that it won't connect to my 18 month old PacBook Pro out of the box. People have suggested many scenarios for solving this seemingly simple problem, but the two leading threads are in con