Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
RemoteKernelObject
  • See Also
    • RemoteEvaluate
    • LaunchKernels
    • $DefaultRemoteKernel
    • KernelObject
    • See Also
      • RemoteEvaluate
      • LaunchKernels
      • $DefaultRemoteKernel
      • KernelObject

RemoteKernelObject[spec]

specifies a remote kernel that can be used for RemoteEvaluate or LaunchKernels.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
SSH Kernels  
WSTPServer Kernels  
Cloud Kernels  
Local Kernels  
Applications  
Properties & Relations  
Neat Examples  
See Also
History
Cite this Page
OBSOLETE SYMBOL
  • See Also
    • RemoteEvaluate
    • LaunchKernels
    • $DefaultRemoteKernel
    • KernelObject
    • See Also
      • RemoteEvaluate
      • LaunchKernels
      • $DefaultRemoteKernel
      • KernelObject

RemoteKernelObject

As of Version 13.1, RemoteKernelObject has been superseded by KernelConfiguration and KernelObject.

RemoteKernelObject[spec]

specifies a remote kernel that can be used for RemoteEvaluate or LaunchKernels.

Details

  • RemoteKernelObject["spec",options …] can be used to override default settings for a kernel specification.
  • The following remote kernel specifications are recognized:
  • "ssh://user@hostname:port/path"a kernel on the given machine, accessed using SSH
    "ssh://hostname"use the default path, user and port on the given machine
    "hostname"equivalent to "ssh://hostname"
    "wstp://server:port/pool"a kernel on a WSTPServer
    "wstp://server"use the default port and kernel pool
    "localhost"a kernel on the same machine
    "file:///path/to/wolfram"the given kernel on the same machine
    "https://www.wolframcloud.com/"a kernel in the Wolfram Cloud
  • Settings for SSH kernels include:
  • "ForwardPort"Randomremote port to use for connection forwarding
    "KernelArguments"(OS-dependent)arguments to pass the kernel program
    "KernelCommand"(OS-dependent)the kernel program to run
    "KernelCount"1number of parallel kernels to launch
    "MachineName"Nonethe name of the machine to connect to
    "Method"(OS-dependent)how to connect to the kernel on the remote machine
    "Name"AutomaticA unique name for this kernel
    "OperatingSystem""Unix"the remote operating system
    "Port"Nonethe port of the SSH server
    "SSHArguments"(see below)arguments to pass to the SSH command
    "SSHCommand""ssh"the name of the SSH command
    "SSHIdentity"Nonethe private SSH key to use
    "SubKernelArguments"{-subkernel,-pacletreadonly}additional arguments for parallel subkernels
    "TimeConstraint"10number of seconds to wait for a connection
    "Username"Nonethe login name that SSH should use
  • The connection method "Launch" is the default on macOS and Linux. It uses LinkLaunch to invoke SSH and uses stdin/stdout for the WSTP connection to the remote kernel.
  • The connection method "Forward" is the default on Windows. It creates a listening WSTP socket on the local machine and forwards the kernel connection inside an SSH tunnel from the remote kernel to the listening socket.
  • The default remote "KernelCommand" is chosen based on the declared "OperatingSytem":
  • "Unix""wolfram"
    "MacOSX""/Applications/Mathematica.app/Contents/MacOS/wolfram"
    "Windows""wolfram.exe"
  • If the given command is not on the search path on the remote machine, the absolute path to the remote kernel command should be given as value of "KernelCommand".
  • If "Username" is not set or is None, no username part is given on the SSH command line. "Username"$Username sets the remote username to be the same as the local one.
  • "Username" and "KernelCommand" can also be given as part of the specification as "ssh://user@hostname:port/path".
  • The default "SSHArguments" are -4 -x -o StrictHostKeyChecking=no -o BatchMode=yes.
  • SSH cannot ask for passwords interactively. Keys can be specified, or an SSH password agent can be used.
  • Settings for WSTPServer kernels include:
  • "KernelCount"1number of parallel kernels to launch
    "MachineName"Nonethe name of the server to connect to
    "Name"AutomaticA unique name for this kernel
    "Pool"Automaticthe kernel pool to request
    "Port"31415the port to connect to
    "TimeConstraint"10number of seconds to wait for a connection
  • If the kernel pool is not specified, the WSTPServer chooses a kernel from the default pool.
  • Settings for Cloud kernels include:
  • "CloudBase"Nonethe cloud base
    "Name"AutomaticA unique name for this kernel
    "TimeConstraint"∞number of seconds to wait for a connection
  • The cloud base is given in the form of an https URL.
  • Settings for local kernels include:
  • "KernelArguments"(OS-dependent)arguments to pass to the kernel program
    "KernelCommand"(OS-dependent)the kernel program to launch
    "KernelCount"UpTo[$ProcessorCount]number of parallel kernels to launch
    "LowerPriority"Truewhether to run parallel subkernels at a lower priority
    "TimeConstraint"∞number of seconds to wait for a connection

Examples

open all close all

Basic Examples  (2)

Connect to a machine with SSH, launch a default kernel and evaluate some of its properties:

Optionally wrap the kernel specification in RemoteKernelObject:

Specify an absolute path to the remote kernel command:

Alternatively, give the path as an option of RemoteKernelObject:

Scope  (17)

SSH Kernels  (6)

Give the path to the remote kernel as an option of RemoteKernelObject:

Alternatively, specify the path as part of the SSH string:

Specify an absolute path to the default kernel command on macOS:

Specify the remote operating system to choose a suitable kernel command:

If no options are needed, RemoteKernelObject can be omitted:

The number of parallel kernels to launch can be given with "KernelCount":

When using a URL short form, the number of parallel kernels can be specified with "?n":

WSTPServer Kernels  (4)

Connect to a WSTPServer listening on the given port:

Alternatively specify the port as an option of RemoteKernelObject:

Connect to a WSTPServer and request a kernel in the given pool:

Alternatively specify the kernel pool as an option of RemoteKernelObject:

The number of parallel kernels to launch can be given with "KernelCount":

When using a URL short form, the number of parallel kernels can be specified with "?n":

Cloud Kernels  (2)

Use a kernel in the default cloud:

Specify a URL for a (private) cloud to use:

Local Kernels  (5)

Use a specific local kernel, given by its absolute path:

Alternatively, give the path in the first argument:

If no options are needed, RemoteKernelObject can be omitted:

Use a specific local kernel, given by its relative path:

The number of parallel kernels to launch can be given with "KernelCount":

When using a URL short form, the number of parallel kernels can be specified with "?n":

For local kernels, the default number of parallel kernels is equal to $ProcessorCount, license permitting:

Applications  (1)

RemoteKernelObject can be used to specify multiple kernels to launch as parallel subkernels:

Properties & Relations  (2)

A kernel object describes a method for launching a kernel; it does not represent a persistent connection:

Each evaluation launches a new kernel, which is discarded after use:

$DefaultKernels is the list of kernels to use by default for parallel computation:

Neat Examples  (1)

Specify a remote machine:

Query it for its number of processors:

Update the description with the discovered kernel count:

Launch all of those parallel subkernels:

See Also

RemoteEvaluate  LaunchKernels  $DefaultRemoteKernel  KernelObject

History

Introduced in 2020 (12.2)

Wolfram Research (2020), RemoteKernelObject, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoteKernelObject.html.

Text

Wolfram Research (2020), RemoteKernelObject, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoteKernelObject.html.

CMS

Wolfram Language. 2020. "RemoteKernelObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RemoteKernelObject.html.

APA

Wolfram Language. (2020). RemoteKernelObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RemoteKernelObject.html

BibTeX

@misc{reference.wolfram_2025_remotekernelobject, author="Wolfram Research", title="{RemoteKernelObject}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/RemoteKernelObject.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_remotekernelobject, organization={Wolfram Research}, title={RemoteKernelObject}, year={2020}, url={https://reference.wolfram.com/language/ref/RemoteKernelObject.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English