Secure Shell Program in OSX?

I'm making the switch to OSX and know that the OS has a built in secure shell type program...can anyone tell me about it and how to get to it?

If you're familiar with UNIX or Linux-type systems, the terminal Application described by Shaddow will be very useful to you, as you can run everything you might need from the command-line.
It should be installed by default in your Applications->Utilities folder.
If you're coming from Windows, you're probably familiar with programs like "PUtty", where you can enter all the values you need in a Windows-y window and a shell pops up on the desktop.
"ssh" is a program commonly used from the command line, but you may want to check out "scp" as well.
If you're feeling adventurous and want to know all about using secure shell, open up a terminal window and type "man ssh<enter>" or "man scp<enter>".

Similar Messages

  • Need Help With Shell Programming

    Hi, I need some guidance as to how to approach my project.
    I need to develop a shell to host an e-learning environment that can be accessed through the internet. The user, preferably, needs not to download anything to run/start the e-learning environment. This e-learning environment allows users/students to create a forum, create a chatroom, hand up projects, send mail, do surveys and tutorials online and these can be submitted to the teacher/marker and receive feedback and also view their grades and schedule. Eg, Blackboard http://www.blackboard.com/
    The problem is is that there seems to be no shell programming by using java. I have found only shell programming using UNIX, korn and C. I read other posts in the forums here concerning shell programming and alot of the codes include the first 2 lines :
    Runtime rt = Runtime.getRuntime();      
    String command = "your_shell_script_command";      
    try {           
          Process process = rt.exec(command);           
         from = new BufferedReader(new InputStreamReader(process.getInputStream()));           
         to = new PrintWriter(process.getOutputStream(), true);      
    catch (IOException e) {         ...       }the above codes were taken from this post: http://forum.java.sun.com/thread.jsp?forum=57&thread=352231
    Does it means that I need to use another language besides Java to program a shell and then run it together with my java program? If so, what language do I need to learn and what Java "component" do I need to use? and is it possible to run a shell in an applet, since the applet is viewable through a browser?
    I really need some help on this problem as I don't have a clue to go about it at all. Thanks in advance.

    er, actually the applet does not seem to load at all.
    But from what you have written, yeah, I need to
    process the user's input and in my case, his
    selected/choosen options in a menu.
    E.g, the user wants to create a forum, he/she chooses
    the create forum option from the menu which is part of
    the shell and something happens which allows the user
    to customise the forum.
    So, let me get this straight, I can create an applet
    and run the shell on the applet and the user can view
    this application without downloading anything? As YAT said...providing they have the java plugin...yes... if you keep it to java.applet.Applet (AWT) and not JApplet, you should even have more users able to run it without 'downloading' anything..
    Now..to be clear... they ARE downloading your .class files, and running them within a JVM on their own local machine... But they will not need anything (assuming their browser supports the Java version you write in) else...

  • [Request] Move Windows Control Panel applet from "System and Security" to "Programs"

    The "Flash Player (32-bit)" Windows Control Panel applet should be  moved from "System and Security" to "Programs" where the Java applet is.
    Vote: https://bugbase.adobe.com/index.cfm?event=bug&id=2953107
    Thanks

    njb,
    Why not just run the ThinkVantage System Update and let it install as usual. You can also "un-check" those drivers that you don't want to install.
    *Non Lenovo employee*
    I have a Y2P (i5) ... Feel free to ping me if you want me to test some applications with your Y2P if you have the same model. I don't mind keep doing recovery on it if needed .... =)

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • Secure shell in a whole root zone

    Hello,
    I have two whole root zones running on my Solaris 10 server along with the global zone. I am able to secure shell in to the global zone, but not the whole root zones. Secure shell does not appear to be running in the whole root zones. I've tried svcadm restart ssh in the whole root zones,but no luck. What do I need to do to get secure shell working on the whole root zones?

    to create the necessary keys -
    # ssh-keygen -b 1024 -t rsa1 -f /etc/ssh/ssh_host_key -N ""
    # ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
    # ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""-- Nick

  • Configuring SSH(Secure Shell) in solaris 10

    Hi ,
    I need help to configure ssh ( secure shell ) on Solaris 10.
    I tried the following steps
    On the Local Machine
    a) Generated public and private key using key-gen
    The private key is stored in
    $HOME/.ssh/id_rsa
    The public key is stored in
    $HOME/.ssh/id_rsa.pub
    b)I started the ssh-agent and executed ssh-add
    On Remote Machine
    c) I copied the public key generated in local machine from
    $HOME/.ssh/id_rsa.pub
    to
    $HOME/.ssh/authorized_keys
    d)I tried execute this command from local host to remote host
    ssh $REMOTE_MACHINE
    I got the following error
    bash-3.00# ssh $REMOTE_MACHINE
    The authenticity of host '$REMOTE_MACHINE' can't be established.
    RSA key fingerprint is 45:7d:4a:37:1a:0a:9a:45:d4:d2:4c:b4:2b:f2:6e:99.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '$REMOTE_MACHINE' (RSA) to the list of known hosts.
    Password:
    Password:
    Password:
    Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
    Can anybody give me the appropriate steps or give link to the appropriate web page.
    Thanks in advance
    Mahantesh

    Hi ,
    1) Can any one tell me how to generate Public and Private keys.
    2) From Windows Box using Putty able to do SSH to any Server at same time is possible for any server to server with out copy public and private keys etc.
    3) How to configure SFTP.
    4) How to restrict users or machines from SSH and SFTP.

  • Comparing two text files in a UNIX using shell programming

    Hi All,
    Sorry for posting a UNIX shell query on Database forums.
    I want to compare two text files using shell programming. The two text files are actually Business Objects output extracted in a text format. The two output files are not in a tabular format and are no way similar in looking. I want to take one file e.g. file1 as an input file and compare each line of file1 with the other file e.g. file2. During comparison I want to extract the differences found in another file and if possible the similar data as well.
    Below is how the files will look like
    File 1:
    BILL1000000 1111251 122222
    RMG1A2 023425100000000010001 11135 102650111100
    UHL1 *6999999* *454540001* Weekly *000*
    0544424556895PS DATA 01MPS100000/03 MR A A PERTH UTL1234567893106923455053106900000010000005
    File 2:
    AUTO
    APPLICATION=STARTPOINT
    START
    PROCESSING DATE=01012011
    1598301270320099TEST C E 00000031615 123456
    7854301276140499TES P 00000062943 234567
    UHL1 *6999999* *454540001* Weekly *000*
    5569931233333499/123456789 00000013396 345678
    4471931233333499ER K J 00000031835123456789012456789
    33652931233333499E J L 00000034729123456789012567890
    45783123333349921/123456789 00000039080 678901
    1452931233333499T R 00000040678123456789012789012
    59689312333334994/987654321 00000048614 890123
    4112931233333499/987654321 00000060631 901234
    1236931217836899 K S 00000043704 012345
    END
    As you can see above the file are not at all matching except for one record UHL1, but its just an example. As an output I would like to have a third file containing all these records, highlighting the differences, and a fourth file where in only the matched records should get populated.
    Please post any useful scripts related to the above scenario.
    Many Thanks.
    Edited by: 848265 on 06-Apr-2011 04:13

    Hi;
    For your issue i suggest close your thread here as changing thread status to answere and move it to Forum Home » Linux which you can get more quick response
    Regard
    Helios

  • Secure ABAP programming - training

    Can anyone help me with any classroom/virtual training program or Code Jam related to Secure ABAP programming from SAP.
    I was looking at something that can be arranged in my company's Mumbai(India) office.

    Hi Ruhi
    Thanks for your question.  There isn't a standard SAP Education course on Secure ABAP Programming but the team at SAP Education in India may be able to help you.  You can reach them directly at:
    Phone
    +91 080 4082 9000
    Email   
    [email protected]
    Kind regards
    Rob

  • Please Help - Secure Internet Programming

    On Sun's home page at http://java.sun.com they have an article
    on "Secure Internet Programming with JavaTM 2, Standard Edition (J2SETM) 1.4" so I tried it out but I got "cannot resolve symbol" compiler
    error when I tried to compile HttpsServer.java - so what do I change
    to get it to compile?
    Here's the actual error message:
    HttpsServer.java:32: cannot resolve symbol
    symbol : class ServerSocketFactory
    location: class HttpsServer
    ServerSocketFactory ssf = sslcontext.getServerSocketFactory();
    ^
    1 error
    I'm using JDK1.4.1 but I can't believe that is the problem. Here is the
    soucre code from the article:
    import java.io.*;
    import java.net.*;
    import javax.net.ssl.*;
    import java.security.*;
    import java.util.StringTokenizer;
    * This class implements a multithreaded simple HTTP
    * server that supports the GET request method.
    * It listens on port 44, waits client requests, and
    * serves documents.
    public class HttpsServer
    String keystore = "serverkeys";
    char keystorepass[] = "hellothere".toCharArray();
    char keypassword[] = "hiagain".toCharArray();
    //The port number which the server will be listening on
    //*public static final int HTTP_PORT = 8080;
    public static final int HTTPS_PORT = 443;
    public ServerSocket getServer() throws Exception
    KeyStore ks = KeyStore.getInstance("JKS");
    ks.load(new FileInputStream(keystore), keystorepass);
    KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
    kmf.init(ks, keypassword);
    SSLContext sslcontext = SSLContext.getInstance("SSLv3");
    sslcontext.init(kmf.getKeyManagers(), null, null);
    ServerSocketFactory ssf = sslcontext.getServerSocketFactory();
    SSLServerSocket serversocket = (SSLServerSocket)ssf.createServerSocket(HTTPS_PORT);
    //*return new ServerSocket(HTTP_PORT);
    return serversocket;
    //multi-threading -- create a new connection for each request
    public void run()
    ServerSocket listen;
    try
    listen = getServer();
    while(true)
    Socket client = listen.accept();
    ProcessConnection cc = new ProcessConnection(client);
    catch(Exception e)
    System.out.println("Exception: "+e.getMessage());
    //main program
    public static void main(String argv[]) throws Exception
    HttpsServer httpserver = new HttpsServer();
    httpserver.run();
    class ProcessConnection extends Thread
    Socket client;
    BufferedReader is;
    DataOutputStream os;
    public ProcessConnection(Socket s)
    //constructor
    client = s;
    try
    is = new BufferedReader(new InputStreamReader(client.getInputStream()));
    os = new DataOutputStream(client.getOutputStream());
    catch(IOException e)
    System.out.println("Exception: "+e.getMessage());
    this.start(); //Thread starts here...this start() will call run()
    public void run()
    try
    //get a request and parse it.
    String request = is.readLine();
    System.out.println("Request: "+request);
    StringTokenizer st = new StringTokenizer(request);
    if((st.countTokens() >= 2) &&
    st.nextToken().equals("GET"))
    if((request = st.nextToken()).startsWith("/"))
    request = request.substring(1);
    if(request.equals(""))
    request = request + "index.html";
    File f = new File(request);
    shipDocument(os, f);
    else
    os.writeBytes("400 Bad Request");
    client.close();
    catch(Exception e)
    System.out.println("Exception: " + e.getMessage());
    * Read the requested file and ships it
    * to the browser if found.
    public static void shipDocument(DataOutputStream out, File f) throws Exception
    try
    DataInputStream in = new
    DataInputStream(new FileInputStream(f));
    int len =(int) f.length();
    byte[] buf = new byte[len];
    in.readFully(buf);
    in.close();
    out.writeBytes("HTTP/1.0 200 OK\r\n");
    out.writeBytes("Content-Length: " + f.length() +"\r\n");
    out.writeBytes("Content-Type: text/html\r\n\r\n");
    out.write(buf);
    out.flush();
    catch(Exception e)
    out.writeBytes("<html><head><title>error</title></head><body>\r\n\r\n");
    out.writeBytes("HTTP/1.0 400 " + e.getMessage() + "\r\n");
    out.writeBytes("Content-Type: text/html\r\n\r\n");
    out.writeBytes("</body></html>");
    out.flush();
    finally
    out.close();

    No problem, glad to help.
    Sun, like anyone else, doesn't always catch typos and copy/paste errors. Hopefully next time something like this happens, you'll be able to understand the information that's available to you in the error message, and look in the documentation for help. That's the bigger lesson here.
    Steve

  • Autofill doesn't work after installing Security Suite program

    Windows always auto filled for me until I installed the Security Suite program. Does anyone know how to fix it? I was thinking that the Secuirty Suite program is preventing it from working since that's when it stopped, but haven't been able to find out how to adjust it or what to turn off/turn on. Sorry if this has been asked before. I searched around but couldn't find this question anywhere.

    Hi dkw197,
    Do you have the Privacy Manager enabled? If so, check the preferences for it and try unchecking AutoComplete entries under Internet Explorer Cleanup.
    Brennoko
    Verizon Telecom
    Fiber Solutions Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Not able to call sql script from shell program

    Hi Gurus,
    I am facing issue while calling sqlplus script from my shell program. Please find below my shell script. This program I've written and registered as for one of concurrent program
    in oracle applications.
    p_userid_passwd=$1
    p_appl_login=$2
    p_user_name=$3
    p_request_id=$4
    v_conc_request_id=${5}
    p_to_role=${6}
    p_from_role=${7}
    p_subject=${8}
    p_body=${9}
    p_dist_list=${10}
    v_request=${11}
    v_file_path_name=/u01/oraspt/REQUEST
    cd $APPLCSF/$APPLOUT
    echo "v_conc_request_id" $v_conc_request_id
    echo "p_to_role" $p_to_role
    echo "p_from_role" $p_from_role
    echo "p_subject" $p_subject
    echo "p_body" $p_body
    echo "p_dist_list" $p_dist_list
    echo "v_request" $v_request
    ls -l $v_request
    if [ $? -ne 0 ]
    then
       echo "No output request generated"
    else
       echo "Output request generated" 
    fi
    echo "connecting to ftp for placing out file to DB server"
    echo FTP to 99.60.17.11
    echo username: "oraspt"
    echo pw:        
    ftp -i -n 99.60.17.11 << EOF2
    user "oraspt" orakdk
    cd $v_file_path_name
    put $v_request
    bye
    EOF2
    output=`sqlplus -s /nolog <<EOT
    whenever sqlerror exit failure;
    connect  apps/apps
    set verify off;
    set serveroutput on size 120000;
           DECLARE
             l_errbuf      varchar2(300);
             l_retcode     varchar2(300);
           BEGIN      
            XXFND_SEND_MAIL.SEND_NOTIFICATIONS(  errbuf        => l_errbuf
                                               , retcode       => l_retcode
                                               , p_request_id  => $v_conc_request_id
                                               , p_to_role     => $p_to_role
                                               , p_from_role   => $p_from_role
                                               , p_subject     => $p_subject
                                               , p_body        => $p_body
                                               , p_dist_list   => $p_dist_list);
         EXCEPTION
            when others then
               dbms_output.put_line('Error encountered :'||SQLERRM);
         END;    
    EOT
    `
    echo "connecting to ftp for deleting output file"     
    echo FTP to 99.60.17.11
    echo username: "oraspt"
    echo pw:        
    ftp -i -n 99.60.17.11 << EOF2
    user "oraspt" orakdk
    cd $v_file_path_name
    delete $v_request
    bye
    EOF2
    echo "Deleted successfully"Output for script is as below
    v_conc_request_id 451906
    p_to_role DC.DKHOO
    p_from_role DC.DKHOO
    p_subject Receivable audit report10
    p_body Please find Audit Report Attachment.
    p_dist_list
    v_request o451906.out
    -rw-r--r-- 1 applspt dba 2368 Dec 28 15:06 o451906.out
    Output request generated
    connecting to ftp for placing out file to DB server
    FTP to 10.60.17.11
    username: oraspt
    pw:
    connecting to ftp for deleting output file
    FTP to 10.60.17.11
    username: oraspt
    pw:
    Deleted successfullyPlease let me know how to trigger pl/sql script.
    Thanks in advance for your help.
    Regards
    Nagendra
    Edited by: 838961 on Dec 27, 2011 11:25 PM

    Please find output as suggested, I've placed set -x in script.
    + p_userid_passwd=APPS/APPS
    + p_appl_login=1110
    + p_user_name=DC.DKHOO
    + p_request_id=451949
    + v_conc_request_id=451945
    + p_to_role=DC.DKHOO
    + p_from_role=DC.DKHOO
    + p_subject=Receivabless
    + p_body=report
    + p_dist_list=
    + v_request=o451945.out
    + v_file_path_name=/u01/oraspt/REQUEST
    + cd /u01/applspt/inst/apps/SPT_nfs-stg-app1/logs/appl/conc/out
    + echo v_conc_request_id 451945
    v_conc_request_id 451945
    + echo p_to_role DC.DKHOO
    p_to_role DC.DKHOO
    + echo p_from_role DC.DKHOO
    p_from_role DC.DKHOO
    + echo p_subject Receivabless
    p_subject Receivabless
    + echo p_body report
    p_body report
    + echo p_dist_list
    p_dist_list
    + echo v_request o451945.out
    v_request o451945.out
    + ls -l o451945.out
    -rw-r--r-- 1 applspt dba 2368 Dec 28 15:54 o451945.out
    + '[' 0 -ne 0 ']'
    + echo 'Output request generated'
    Output request generated
    + echo 'connecting to ftp for placing out file to DB server'
    connecting to ftp for placing out file to DB server
    + echo FTP to 10.60.17.11
    FTP to 10.60.17.11
    + echo username: oraspt
    username: oraspt
    + echo pw:
    pw:
    + ftp -i -n 10.60.17.11
    ++ sqlplus -s /nolog
    + output=Connected.
    + echo 'connecting to ftp for deleting output file'
    connecting to ftp for deleting output file
    + echo FTP to 10.60.17.11
    FTP to 10.60.17.11
    + echo username: oraspt
    username: oraspt
    + echo pw:
    pw:
    + ftp -i -n 10.60.17.11
    + echo 'Deleted successfully'
    Deleted successfully

  • How to open URL from Shell program or Oracle?

    Hi
    I required to open a URL (any link like ‘http://www.google.com’) either from Oracle or from shell script.
    Is there any command in shell programming to open a URL? If not, can we do the same in Oracle?
    Thanks & Regards,
    Sreekanth

    Sreekanth Munagala wrote:
    Is there any command in shell programming to open a URL? Yes. It is called wget.
    If not, can we do the same in Oracle?Yes. Oracle supplies HTTP interfaces, like UTL_HTTP. Sample code that shows how do a "webbrowser" (minus rendering engine of course) posted in {message:id=1925297}

  • I have the CA ISS security suite program - Can I install it on to my lap top using my Fire Fox?

    I am interested in using my CA ISS security suite program on my Fire Fox. Do I uninstall my CA ISS security suite from the old Internet Explorer first and and then install it on my new Fire Fox? Thank you-I love the Fire Fox.

    Sorry, downgrading is not supported.

  • Using Firefox (and having ZoneAlarm), when logging into my work email (Lotus Notes) through a secure Citrix program, a quesitonmark types as and accented "E". This does not happen when using IE (which I prefer not to use). I have turned off the anti-key

    Using Firefox (and having ZoneAlarm), when logging into my work email (Lotus Notes) through a secure Citrix program, a question mark types as and accented "E". This does not happen when using IE (which I prefer not to use). I have turned off the anti-keylogger in ZA (an old, and no longer successful fix). Can anyone help? I need my question marks at work.
    Thanks!
    PS. my keyboard language is not set to French.
    == This happened ==
    Every time Firefox opened
    == I tried to type a "?" in a work email using remote access.

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    May not be related to your problem but some of your Firefox Plugins are out-dated
    * Update All your Firefox Plugins -> https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Secure Shell Startup script question. Please inquire within.

    In the /etc/rc2.d dir I have a S99 script for secure shell that I want to automatically start when I init 6 my server. Where do I place this script in order for it to start up instead of me manually starting it up after the server reboots?? Thank you in advance.

    Actually the problem is that the $* (or $@) is expanded when the alias is created  and of course at creation time the $* is empty.
    So it's not really so much
    emacs & $*
    as
    emacs & filename
    But  either way you are correct that to pass a command line arg in a case like this you need to use a function.
    But the fact still remains that the standard OS X emacs will block waiting for a terminal if started in the bg.
    regards
    Message was edited by: Frank Caggiano

Maybe you are looking for

  • Looking for way to count a specific document hits(Not with Activity Report)

    Hello, I have a certain Word document that I want to count how many users opened it. I am aware of the Portal Activity Report but this report tracks only iViews/pages ect. and my document is inside a KM iView which contains many other documents and I

  • Auto Click On Graph embeded in a Region.

    Hi, I have a parent page (.jspx) and in it i have two taskflows added as a region . First Task Flow : A graph (.jsff) Second Task Flow : Graph Properties(.jsff) Now my requirement is to transfer the clickEvent of graph of frist taskfow to the second

  • Metadata informations in grid view

    I would like to get better readable metadata information on the frames of the thumbnails in grid view and if possible in the extended version also on the bottom part of the frame. The light gray in the second line has too low contrast. In German vers

  • Expires header with a 304 response

    I'm using iPlanet 4.1SP9. I've written a custom SAF to add an Expires header to a response. When the page expires the browser send a conditional GET (if-modified-since). iPlanet responds with a plain 304 with no new Expires header. Therefore the page

  • Problem with Photoshop Touch

    Hi, I use Photoshop Touch ver. 1.5.1 on an Android 4.1.2 device and Ps CS6. The problem is: the Pictures from Photoshop (psd-files) are not displayed on PS-Touch? I save the picture on two ways: in the cloud and on th sd-card. What is the Problem? Ca