Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 12
  1. #1
    skoggis is offline member
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems with Terminal (Newbie)

    Hi!

    This is propably going to sound very stupid to all you Unix-gurus, but...

    When I start Terminal, it tries to automatically connect to my email account using ssh.

    It says following:

    ssh -c 3des -2 -l myusername address -p 22

    I have used a quick control-c to abort the connection, but this is getting really annoying. Can anybody suggest a way to eliminate this? I'm an old mac user but very new to Unix. I'm learning...

    Tnx in advance

  2. #2
    dan_c00per is offline Registered User
    Join Date
    Mar 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In your home directory, type 'sudo pico .login', then enter you password, use the pico editor to remove the command you don't want and save the file

  3. #3
    skoggis is offline member
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There is no .login file in my home directory. Using the command you provided just makes Pico create a new empty file. Could it be located in somewhere else?

    Tnx

  4. #4
    dan_c00per is offline Registered User
    Join Date
    Mar 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Type 'sudo ls' in your home folder, what files do you have beginning with a '.'?

  5. #5
    skoggis is offline member
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts
    .CFUserTextEncoding
    .lpoptions
    .DS_Store
    .mplayer
    .MCXLC
    .ssh
    .sversionrc
    .Trash
    .user60.rdb
    .Xauthority
    .appletviewer
    .xftcache
    .java
    .jpi_cache

    sudo pico .ssh gives me an File read error...

  6. #6
    dan_c00per is offline Registered User
    Join Date
    Mar 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    .ssh is a folder which contains details of machines that you have ssh'd into and added to your list of known hosts

    What version OS are you running, it appears to be different between 10.1 and 10.2

  7. #7
    symphonix's Avatar
    symphonix is offline Scratch & Sniff Committee
    Join Date
    Jul 2001
    Location
    The Australian Jungles
    Posts
    4,025
    Thanks
    2
    Thanked 6 Times in 5 Posts
    Also, check the Terminal preferences, as it is possible to set a command there that will run when each new terminal window is opened.
    - iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
    - Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white

  8. #8
    skoggis is offline member
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by symphonix
    Also, check the Terminal preferences, as it is possible to set a command there that will run when each new terminal window is opened.
    Terminal preferences says that it executes something from /usr/bin/login.

    I tried to sudo pico login in the /usr/bin directory, but I can't understand the file. There's nothing that says ssh, only some symbols and letters that don't make any sense to me

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Terminal trouble? (newbie)
    By whiskeybravo in forum Unix & X11
    Replies: 1
    Last Post: April 16th, 2003, 09:07 AM
  2. Replies: 4
    Last Post: January 7th, 2003, 09:48 AM
  3. terminal problems
    By Colincameron in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: October 21st, 2002, 01:10 AM
  4. Deleted the terminal app (stupid newbie)
    By roussell in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: March 20th, 2002, 09:02 AM
  5. Terminal Problems
    By Yeeeeeeha in forum Mac OS X System & Mac Software
    Replies: 8
    Last Post: December 11th, 2001, 06:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •