Cannot ssh, Permission Denied
Very odd.
Cannot SSH into a Mac Pro (10.6.7) on my network
Can ping the box at it's IP
Also cannot see this Mac in ARD
I have Remote Login and Remote Management enabled for All Users
I thought it may be "Firewall" being on (which in the past will block these ports), but Firewall is off
Have read in posts something to do with /etc/ssh_config file, not sure what this file should read in order to gain access.
More than likely a re-image of this Mac will solve the issue, but do not want to do that, too much on this box, FCP, etc.
Has to be a corruption, a plist file, or some other configuration, etc.
thanks in advance,
John K
Perhaps using
ssh -v -v -v [email protected]
Which should give you alot more details.
If you do 2 of these. One to the failing system, and one to a working system, and then compare the 2 debugging output streams to see where the failing system goes bad.
Similar Messages
-
Hello together,
I have a perfectly working setup with my XP machine, Putty and my Suse Linux server that allow for remote login via SSH. I use Public Key authentication.
However, when I try to login from my Mac, all I get from the Mac side is a
"Permission denied (publickey,keyboard-interactive)."
And I can't establish the connection. On the server in 'messages' I get:
"sshd{6046}: Accepted publickey for {userName} from {myHomeIP} port 38335 ssh2"
What could be wrong here?
I would like to use the same keys on my PC and my Mac so I just copied the key files into the .ssh directory on the Mac, did a chmod 600 on them and then tried to remote log-on with the follwoing from the terminal:
"ssh -l {userName} {host} -i {keyFile}"
My questions are:
1) How am I sure that the Mac uses the right key files? (or uses them at all)
2) How come my server says "accept publickey" and no connection is established?
3) Do you have any other idea on how I might get this to work? What I need is a method to copy files (not via FTP) to my server and let the process run without supervision / user interaction.
Thanks a lot for all your help!
Cheers
Message was edited by: Sebastian_R (some typos)If you copied your files from Windows, I would check to make sure your lines are <LF> terminated. I have not played with Putty so I do not know the way it line terminates its ssh key files, but Windows has a long tradition of using <CR><LF> to terminate its lines.
cat -v ~/.ssh/id_rsa # or whatever your file names are
If there are <CR> characters in the file, they will show up as ^M
Next get more diagnostic information from ssh using an *ssh -v -v -v*
If you know how to tell Putty to do the same thing, do it from Putty as well.
Now compare the debug output from the working vs the non-working ssh commands. The differences will tell you a lot.
If you look at *man ssh* and search for permissions it will tell you what files need restrictive permissions. You can get a permissions denied error if your home directory allows Group or Other write access. The $HOME/.ssh directory needs to be set so ONLY the Owner is allowed to access it. And some of the files in $HOME/.ssh require specific permissions. The ssh man page details this. -
[SOLVED]ObConf Permission Denied
Hey Guys i am having some trouble to install some openbox themes using obconf, the error is this:
Unable to extract the file "/home/raamon/Downloads/Murrine-Unity-20110222.obt".
Please ensure that "/home/raamon/.themes" is writable and that the file is a valid Openbox theme archive.
The following errors were reported:
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3: Cannot mkdir: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/iconify.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/shade.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/desk_toggled.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/max_toggled.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/bullet.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/desk.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/shade_toggled.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/max.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/close.xbm: Cannot open: No such file or directory
tar: Murrine-Unity: Cannot mkdir: Permission denied
tar: Murrine-Unity/openbox-3/themerc: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors
I tried to move the themes to the ~/.themes and then install by obconf but didn't worked too.
Solved...
Last edited by Arcken (2011-08-08 03:17:19)Can you please explain how it was solved?
-
Cannot create file "/Applications/ " Permission denied.
When installing new software Iget the following error message: "Cannot create file "/Applications/ ". Permission denied. I have used disk utilities to try to repair my permissions with no sucsess. I have also tried reinstaling the software. Any advise is appreciated.
I am using Mac OS X Yosemite 10.10.2 and Safari 8.0.4You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type: ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.
Repair User Permissions -
Permission denied in calling ssh file from job
hello
i tried to create program and a job to execute ssh file using sql i am using oracle 10g R2
as following :
begin
DBMS_SCHEDULER.create_program (
program_name => 'START_SCRIPT_INVOIC',
program_type => 'EXECUTABLE',
program_action => 'root/[email protected]:/home/admin/services/fd_listener/INVOICStart.sh',
number_of_arguments => 0,
enabled => TRUE,
comments => 'COMMENTS ABOUT THE SCRIPT ROLE');
dbms_scheduler.create_job
(job_name => 'START_SERVICE_INVOIC',
program_name=> 'START_SCRIPT_INVOIC',
enabled=>true,
auto_drop=>false,
comments=>'Job used to run the program START_SCRIPT');
end;
then i tried to start to exec the job as follow
BEGIN
dbms_scheduler.RUN_JOB('START_SERVICE_INVOIC');
END;
and give me this error :
>[Error] Script lines: 1-4 --------------------------
ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 2
please help me i need to execute this urgentlyuser11114041 wrote:
hello
i tried to create program and a job to execute ssh file using sql i am using oracle 10g R2
as following :
begin
DBMS_SCHEDULER.create_program (
program_name => 'START_SCRIPT_INVOIC',
program_type => 'EXECUTABLE',
program_action => 'root/[email protected]:/home/admin/services/fd_listener/INVOICStart.sh',
number_of_arguments => 0,
enabled => TRUE,
comments => 'COMMENTS ABOUT THE SCRIPT ROLE');
dbms_scheduler.create_job
(job_name => 'START_SERVICE_INVOIC',
program_name=> 'START_SCRIPT_INVOIC',
enabled=>true,
auto_drop=>false,
comments=>'Job used to run the program START_SCRIPT');
end;
then i tried to start to exec the job as follow
BEGIN
dbms_scheduler.RUN_JOB('START_SERVICE_INVOIC');
END;
and give me this error :
>[Error] Script lines: 1-4 --------------------------
ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 2
please help me i need to execute this urgently
This is a forum of volunteers. There is no "urgent" here. -
Archiving - Permission denied - cannot be open write program
Hi, Gurus
I executed a write program (SARA) and the result is partialy ok , as you can see below ( the job log and spool.)
Questions:
1.- there is not an archive file in C?
2.- Permission denied --> Message BA161
I checked object config,file and logical path and everything seems tobe ok.
Anyone cant help on this?
Thanks
Job log:
Job started
Step 001 started (program MMREO050N, variant ZMM_001,
Archiving session 000009 is being created
Start of data processing
Operating system message: Permission denied
1 of 1 materials ( 100 %) processed
Job finished
Job spool:
MARD: 1000 2000 material master record was archived
MARC: 1000 long text(s) archived
MARC: 1000 material master record was archived
MAKT: E material master record was archived
MARM: ST material master record was archived
MLAN: ES material master record was archived
MARA: change documents archived
MARA: change documents archived
MARA: long text(s) archived
MARA: class assignments archived
MARA: material master record was archived
Archive file C:\MM_MM_MATNR_20100316_210452_0.ARCHIVE cannot be opened for write programDear,
Either the file deleted from its physical location on drive C [OR] you dont have authorizations to write into the file (check with SU53 for any missing object for the user).
Also check: Re: error while archiving the material master
http://help.sap.com/saphelp_45B/helpdata/en/7e/c6c2ad98a711d2b429006094b9ea64/content.htm
Regards,
Syed Hussain. -
I am having problems installing creative cloud: It says "cannot make folder/Cookies:permission denied (error13)
Try below steps
Click on Finder and then hold Command + Shift + G keys on your keypad
It will open Go to folder window, type exactly ~/Library and click on Go ( make sure to opeb ~/Library not /Library, there will two library )
Then open Application Support
Right click on Adobe folder
Click on get info
Under sharing and permission click on lock icon and unlock it
Click on symbol and Add Administrator and your current user name ( if not added )
Then give read and write permission to user name, admin, system and every one
Then click on Gear icon and select 'Apply to Enclosed
Click on lock icon
Try to install Creative Cloud App. -
Sublime.so: cannot restore segment prot after reloc: Permission denied
hi
i recently installed WTK2.5.2 in Fedora Core 10 and tried to load demo projects included with it but, got following results in console..
java.lang.UnsatisfiedLinkError: /opt/WTK2.5.2/bin/sublime.so: /opt/WTK2.5.2/bin/sublime.so: cannot restore segment prot after reloc: Permission denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1663)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at com.sun.kvem.Sublime.<init>(Sublime.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.sun.kvem.Lime.createLime(Lime.java:40)
at com.sun.kvem.KVMBridge.<init>(KVMBridge.java:46)
at com.sun.kvem.KVMBridge.getBridge(KVMBridge.java:37)
at com.sun.kvem.midp.MIDP.run(MIDP.java:699)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(EmulatorInvoker.java:107)
at com.sun.kvem.environment.EmulatorInvoker.main(EmulatorInvoker.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.kvem.environment.JVM.main(JVM.java:103)
please tell me what does it mean and how to correct this problem..hi
i thought it to be SELINUX problem and google gave me exactly what i wanted .. solution to it..
SELINUX-Targeted Policy disallows restore segment prot after reloc which can be corrected by switching to SELINUX-permissive policy..
this can be achived temporarily by issuing
setenforce permissiveregards
Anshul Bhatnagar -
I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window? I'm trying to get a trial version of CS5.
You do not need to involve Creative Cloud to install/try the trial version of CS5...
You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html -
I just purchased a Creative Cloud subscription and I was trying to install Photoshop, but I receive the error message 'Error Starting Creative Cloud - cookies dir: cannot make folder /cookies Permission denied (error 13)'
Hi Arjun and tphc,
try the solution I found and tested at this other thread:
http://forums.adobe.com/message/5628798
I think it could be helpful for you too!
Cheers,
Marco -
ASM: cannot create asm disks - permission denied
We cannot create ASM disks using the command:
# /etc/init.d/oracleasm creatdisk ASMDISK1 /dev/mapper/mpathdp1
Marking disk "ASMDISK1" as an ASM disk: [FAILED]
The log (/var/log/oracleasm) has the following:
Clearing disk header: done
Disk "ASMDISK1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to create ASM disk "ASMDISK1": Permission denied
failed
Clearing disk header: done
The command is being executed by the root user. Our environment is OEL6:
[oracle@uxdbidbd1 mapper]$ uname -rm
2.6.32-100.28.11.el6.x86_64 x86_64
To install ASMLib we did the following:
Installed the three packages:
1.oracleasm-support-2.1.4-1.el5.x86_64.rpm
2.oracleasmlib-2.0.4-1.el5.x86_64.rpm
3.oracleasm-2.6.18-238.9.1.el5-debuginfo-2.0.5-1.el5.x86_64.rpm
[root@uxdbidbd1 ~]# modprobe oracleasm
[root@uxdbidbd1 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: oinstall
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@uxdbidbd1 ~]#
[root@uxdbidbd1 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
Our SA partitioned the disk using fdisk:
[root@uxdbidbd1 ~]# fdisk -l /dev/mapper/mpathd
Disk /dev/mapper/mpathd: 52.4 GB, 52428800000 bytes
255 heads, 63 sectors/track, 6374 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4849251a
Device Boot Start End Blocks Id System
/dev/mapper/mpathdp1 1 6374 51199123+ 83 Linux
Here are the owner/permissions:
[oracle@uxdbidbd1 mapper]$ ls -al /dev/mapper/
lrwxrwxrwx. 1 root root 7 Apr 22 14:58 mpathd -> ../dm-5
brw-rw-r--. 1 oracle oinstall 253, 6 Apr 25 10:56 mpathdp1
[oracle@uxdbidbd1 dev]$ ls -al /dev
brw-rw----. 1 root disk 253, 5 Apr 22 15:45 dm-5
drwxr-xr-x. 4 root root 0 Apr 22 14:58 oracleasm
[oracle@uxdbidbd1 oracleasm]$ ls -al /dev/oracleasm
total 0
drwxr-xr-x. 4 root root 0 Apr 22 14:58 .
drwxr-xr-x. 23 root root 7200 Apr 24 03:41 ..
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .check_iid
drwxr-xr-x. 1 root root 0 Apr 22 14:58 disks
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .get_iid
drwxrwx---. 1 oracle oinstall 0 Apr 22 14:58 iid
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .query_disk
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .query_version
We ran an strace on the createdisk command that is failing and I noticed this in the output file:
28830 mknod("/dev/oracleasm/disks/ASMDISK1", S_IFBLK|0600, makedev(253, 6)) = -1 EACCES (Permission denied)
28830 write(2, "oracleasm-instantiate-disk: ", 28) = 28
28830 write(2, "Unable to create ASM disk \"ASMDI"..., 56) = 56
We changed /dev/oracleasm/disks to 777 in order to test but we got the same result. Do we need to adjust the permissions to all of the parent directories in the path (/dev/oracleasm/disks)? I've been looking around for anything related to permissions on /dev/oracleasm but the docs don't mention anything. Any help would be greatly appreciated.From what I understand, you should not set device permissions of /dev/oracleasm since oracleasm takes care of it according to /etc/init.d/oracleasm configure.
The problem in your case seems to be that ASM refuses to initialize and write metadata to your device. Was the device previously used by ASM? ASM will fail to initialize a device that contains previous ASM metadata. To erase the device you will need to use the dd command, e.g. dd if=/dev/zero of=/dev/sdb. Both ASMLib and raw devices require the candidate disks to be partitioned before they can be accessed. To create a partition on /dev/sdb, for instance, type fdisk /dev/sdb and create a standard partition using the defaults. This will create /dev/sdb1 and you can try oracleasm createdisk again.
You may try the above, but anyway, I was not sure how much you can trust your installation. The problem could also be that you installed the oracleasm kernel driver and asmlib software for OEL 5. Oracle Linux 6 includes an oracleasm kernel driver and as far as I remember you must not install another oracleasm kernel driver. Using modprob oracleasm and installing oracleasm support package using yum should do the trick. You may also need to download and install the asmlib package for the Oracle ASM grid install to see the ASM disks. -
What to do in this case???
cookies dir: cannot make folder /cookies: Permission denied (error 13)Re: Installing Creative Cloud Desktop but I got Error 13 an issue permission on my MacBookPro, why?
-
getting an error message that says: "Error starting Creative Cloud" "cookies dir: cannot make folder / cookies: Permission denied (error 13)"
Please refer the thread: Installing Creative Cloud Desktop but I got Error 13 an issue permission on my MacBookPro, why?.
Regards,
Romit Sinha -
Cannot make folder /cookies: Permission denied (error 13)
I can not successfully install the Creative Cloud Installer. I continually get
Error Starting Creative Cloud
cookies dir: cannot make folder /cookies: Permission denied (error 13)
I have tried verifying disk permissions using the disk utility on my macpro retina. This is a brand new computer (less than a week). I've also tried changing cookies permissions to allow for third party cookies.
I don't know what the problem is.I had this same irritating problem. Thanks to this forum and some helpful instructions from Adobe Customer Support online I have been able to sort it out. For those who've read this far down the thread, here are the instructions from Adobe, which worked a treat - and also cured a problem I was having with Adobe Reader XI for Mac (internal error message meaning I couldn't use Reader and none of my pdfs would open with Preview either!)
1. Please Open Finder and click on Applications on left hand side of Finder window.
2. Navigate to Applications->Utilities ->Adobe Installers. Double click on Uninstall Adobe Creative Cloud and follow the onscreen instructions.
3. Delete Adobe Application Manager folder from Applications/Utilities.
4. Open Finder. Click on Go in Finder menu and choose Go to Folder. Type /Library/Application Support/Adobe in Go to folder and press return key. You will have Adobe folder open in Finder.
5. Delete AdobeApplicationManager and OOBE folder.
6. Click on Go in Finder menu and choose Go to Folder again. Type ~/Library/Application Support/Adobe in Go to folder and press return key.
7. Delete AAMUpdater and OOBE folder from Adobe.
8. Click on Go in Finder menu and choose Go to Folder again. Type ~/Library/Application Support and press return key.
9. Right click on Adobe folder and choose Get Info.
10. Click the lock icon at bottom of Get Info window to unlock it, then enter an administrator’s name and password.
11. Click on + icon and choose select all users on pop up and window and choose Select.
12. Change the permissions for all Users to Read and Write.
13. Choose "Apply to enclosed items" from the Action pop-up menu (looks like a gear).
14. Try installing the Creative Cloud Desktop application from below link.
https://ccmdls.adobe.com/AdobeProducts/KCCC/1/osx10/CreativeCloudInstaller.dmg
Please launch Adobe Creative Cloud Desktop application and check if you are able to sign in. -
I get an error starting cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when downloading the creative cloud installer on my imac osx desktop. Can anyone help with similar pop up window?
Swallow what is the exact error which you are receiving? Also what version of Mac OS are you using specifically? Finally what Adobe software title are you currently attempting to install?
Maybe you are looking for
-
How to terminate and restart a java program from a controling java program?
I have a situation where my program needs to run exactly once each one hour. This is a huge program that creates a lot of threads and opens lot of resources. After one hour has lapsed, I want to terminate this program (as if Exit(0) was performed on
-
How do i change what the stop button does
Is it possible to change the behavior of the 'STOP' button depending on the state of the 'PLAY' button? What I would like is this; When Logic is playing the 'STOP' button stops play leaving the playhead where it is. If the stop button is pressed agai
-
How can I change data carriers on my ipad?
How can I change data carriers on my ipad mini?
-
I just had all of my music transferred to a new Windows Dell computer. Itunes doesnt show any of the music except the music that is in the cloud. Can smeone help me direct my itunes to the corect library. THanks
-
J'ai suivis les instructions de téléchargement:le site URL-nr de commande-impossibilité de cliquer sur le bouton de telechargement.Il n'apparait pas!!! Votre site -ww.adobe.com...est très peu stable ,il disparait très vite ,pour laisser place à un si